Same name in other branches
- 2.x src/Plugin/Derivative/DynamicLocalTasks.php \Drupal\entity_clone\Plugin\Derivative\DynamicLocalTasks::create()
File
-
src/
Plugin/ Derivative/ DynamicLocalTasks.php, line 46
Class
- DynamicLocalTasks
- Defines dynamic local tasks.
Namespace
Drupal\entity_clone\Plugin\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($container->get('entity_type.manager'), $container->get('string_translation'));
}