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

Breadcrumb

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

function EntityMethodDeriver::__construct

Constructs new EntityMethodDeriver.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

File

core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/EntityMethodDeriver.php, line 41

Class

EntityMethodDeriver
Derives config action methods from attributed config entity methods.

Namespace

Drupal\Core\Config\Action\Plugin\ConfigAction\Deriver

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
    $this->inflector = new EnglishInflector();
}
RSS feed
Powered by Drupal