function AddToAllBundles::__construct

Same name in other branches
  1. 11.x core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php \Drupal\field\Plugin\ConfigAction\AddToAllBundles::__construct()

File

core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php, line 31

Class

AddToAllBundles
Adds a field to all bundles of its target entity type.

Namespace

Drupal\field\Plugin\ConfigAction

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfoInterface $entityTypeBundleInfo, ConfigManagerInterface $configManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.