public function EntitySubqueueInterface::getItemPosition in Entityqueue 8
Gets the position (delta) of the given subqueue item.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The item in the subqueue.
Return value
int|bool The position of the given item in the subqueue, or FALSE if not found.
1 method overrides EntitySubqueueInterface::getItemPosition()
- EntitySubqueue::getItemPosition in src/
Entity/ EntitySubqueue.php - Gets the position (delta) of the given subqueue item.
File
- src/
EntitySubqueueInterface.php, line 75
Class
- EntitySubqueueInterface
- Provides an interface defining a EntitySubqueue entity.
Namespace
Drupal\entityqueueCode
public function getItemPosition(EntityInterface $entity);