public ActionListBuilder::load()
Loads entities of this type from storage for listing.
This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities.
Return value
\Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface.
Overrides ConfigEntityListBuilder::load
File
- core/modules/action/src/ActionListBuilder.php, line 62
Class
- ActionListBuilder
- Defines a class to build a listing of action entities.
Namespace
Drupal\action
Code
public function load() { $entities = parent::load(); foreach ($entities as $entity) { if ($entity->isConfigurable()) { $this->hasConfigurableActions = TRUE; continue; } } return $entities; }
Please login to continue.