function EntityActionDeriverBase::create
Same name in other branches
- 9 core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php \Drupal\Core\Action\Plugin\Action\Derivative\EntityActionDeriverBase::create()
- 8.9.x core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php \Drupal\Core\Action\Plugin\Action\Derivative\EntityActionDeriverBase::create()
- 10 core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php \Drupal\Core\Action\Plugin\Action\Derivative\EntityActionDeriverBase::create()
Overrides ContainerDeriverInterface::create
File
-
core/
lib/ Drupal/ Core/ Action/ Plugin/ Action/ Derivative/ EntityActionDeriverBase.php, line 43
Class
- EntityActionDeriverBase
- Provides a base action for each entity type with specific interfaces.
Namespace
Drupal\Core\Action\Plugin\Action\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($container->get('entity_type.manager'), $container->get('string_translation'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.