function EntityMethodDeriver::create
Same name in other branches
- 11.x core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/EntityMethodDeriver.php \Drupal\Core\Config\Action\Plugin\ConfigAction\Deriver\EntityMethodDeriver::create()
Overrides ContainerDeriverInterface::create
File
-
core/
lib/ Drupal/ Core/ Config/ Action/ Plugin/ ConfigAction/ Deriver/ EntityMethodDeriver.php, line 48
Class
- EntityMethodDeriver
- Derives config action methods from attributed config entity methods.
Namespace
Drupal\Core\Config\Action\Plugin\ConfigAction\DeriverCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($container->get('entity_type.manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.