public function entityQueueCreate($queue, $destBid) {
    $entity_subqueue = $this->entityManager->getStorage('entity_subqueue')->load($queue);
    $items = $entity_subqueue->get('items')->getValue();
    $items[] = ['target_id' => $destBid[0]];
    $entity_subqueue->set('items', $items);
    $entity_subqueue->save();
  }
public function entityQueueCreate($queue, $destBid) {
    $entity_subqueue = $this->entityManager->getStorage('entity_subqueue')->load($queue);
    $items = $entity_subqueue->get('items')->getValue();
    $items[] = ['target_id' => $destBid[0]];
    $entity_subqueue->set('items', $items);
    $entity_subqueue->save();
  }
public function entityQueueCreate ( $ queue , $ destBid ) { $ entity_subqueue = $ this -> entityManager -> getStorage ( 'entity_subqueue' ) -> load ( $ queue ) ; $ items = $ entity_subqueue -> get ( 'items' ) -> getValue ( ) ; $ items [ ] = [ 'target_id' => $ destBid [ 0 ] ] ; $ entity_subqueue -> set ( 'items' , $ items ) ; $ entity_subqueue -> save ( ) ; }
Add a specific entityqueue.
Add a specific entityqueue .