class ActionPluginCollection in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Action/ActionPluginCollection.php \Drupal\Core\Action\ActionPluginCollection
- 9 core/lib/Drupal/Core/Action/ActionPluginCollection.php \Drupal\Core\Action\ActionPluginCollection
Provides a container for lazily loading Action plugins.
Hierarchy
- class \Drupal\Component\Plugin\LazyPluginCollection implements \Drupal\Component\Plugin\IteratorAggregate, \Drupal\Component\Plugin\Countable
- class \Drupal\Core\Plugin\DefaultSingleLazyPluginCollection uses DependencySerializationTrait
- class \Drupal\Core\Action\ActionPluginCollection
- class \Drupal\Core\Plugin\DefaultSingleLazyPluginCollection uses DependencySerializationTrait
Expanded class hierarchy of ActionPluginCollection
1 file declares its use of ActionPluginCollection
- Action.php in core/
modules/ system/ src/ Entity/ Action.php
File
- core/
lib/ Drupal/ Core/ Action/ ActionPluginCollection.php, line 10
Namespace
Drupal\Core\ActionView source
class ActionPluginCollection extends DefaultSingleLazyPluginCollection {
/**
* {@inheritdoc}
*
* @return \Drupal\Core\Action\ActionInterface
*/
public function &get($instance_id) {
return parent::get($instance_id);
}
}