public function EntitySubqueueInterface::addItem in Entityqueue 8
Adds an entity to a subqueue.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: An entity object.
Return value
$this
1 method overrides EntitySubqueueInterface::addItem()
- EntitySubqueue::addItem in src/
Entity/ EntitySubqueue.php - Adds an entity to a subqueue.
File
- src/
EntitySubqueueInterface.php, line 43
Class
- EntitySubqueueInterface
- Provides an interface defining a EntitySubqueue entity.
Namespace
Drupal\entityqueueCode
public function addItem(EntityInterface $entity);