public static function UserLocalTask::create in Drupal 10
File
- core/
modules/ user/ src/ Plugin/ Derivative/ UserLocalTask.php, line 41
Class
- UserLocalTask
- Provides local task definitions for all entity bundles.
Namespace
Drupal\user\Plugin\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($container
->get('entity_type.manager'), $container
->get('string_translation'));
}