function EntityMethodDeriver::__construct
Same name in other branches
- 11.x core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/EntityMethodDeriver.php \Drupal\Core\Config\Action\Plugin\ConfigAction\Deriver\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\DeriverCode
public function __construct(EntityTypeManagerInterface $entityTypeManager) {
$this->inflector = new EnglishInflector();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.