public function EntitySubqueueInterface::hasItem in Entityqueue 8
Checks whether the subqueue has a given item.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: An entity object
Return value
bool TRUE if the item was found, FALSE otherwise.
1 method overrides EntitySubqueueInterface::hasItem()
- EntitySubqueue::hasItem in src/Entity/ EntitySubqueue.php 
- Checks whether the subqueue has a given item.
File
- src/EntitySubqueueInterface.php, line 64 
Class
- EntitySubqueueInterface
- Provides an interface defining a EntitySubqueue entity.
Namespace
Drupal\entityqueueCode
public function hasItem(EntityInterface $entity);