function ActionListBuilder::load
Same name in other branches
- 9 core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::load()
- 8.9.x core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::load()
- 11.x core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::load()
Overrides ConfigEntityListBuilder::load
File
-
core/
modules/ action/ src/ ActionListBuilder.php, line 76
Class
- ActionListBuilder
- Defines a class to build a listing of action entities.
Namespace
Drupal\actionCode
public function load() {
$entities = parent::load();
foreach ($entities as $entity) {
if ($entity->isConfigurable()) {
$this->hasConfigurableActions = TRUE;
break;
}
}
return $entities;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.