Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FieldUiLocalAction.php

function FieldUiLocalAction::create

Overrides ContainerDeriverInterface::create

File

core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php, line 48

Class

FieldUiLocalAction
Provides local action definitions for all entity bundles.

Namespace

Drupal\field_ui\Plugin\Derivative

Code

public static function create(ContainerInterface $container, $base_plugin_id) {
    return new static($container->get('router.route_provider'), $container->get('entity_type.manager'));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal