function DefaultSelectionDeriver::create
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/Plugin/Derivative/DefaultSelectionDeriver.php \Drupal\Core\Entity\Plugin\Derivative\DefaultSelectionDeriver::create()
- 10 core/lib/Drupal/Core/Entity/Plugin/Derivative/DefaultSelectionDeriver.php \Drupal\Core\Entity\Plugin\Derivative\DefaultSelectionDeriver::create()
- 11.x core/lib/Drupal/Core/Entity/Plugin/Derivative/DefaultSelectionDeriver.php \Drupal\Core\Entity\Plugin\Derivative\DefaultSelectionDeriver::create()
Overrides ContainerDeriverInterface::create
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ Derivative/ DefaultSelectionDeriver.php, line 43
Class
- DefaultSelectionDeriver
- Provides derivative plugins for the DefaultSelection plugin.
Namespace
Drupal\Core\Entity\Plugin\DerivativeCode
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.