public function FlowForm::__construct in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Form/FlowForm.php \Drupal\cms_content_sync\Form\FlowForm::__construct()
- 2.0.x src/Form/FlowForm.php \Drupal\cms_content_sync\Form\FlowForm::__construct()
Constructs an object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity query
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundle_info_service: The bundle info service
\Drupal\Core\Entity\EntityFieldManager $entity_field_manager: The entity field manager
\Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager $entity_plugin_manager: The content sync entity manager
\Drupal\cms_content_sync\Plugin\Type\FieldHandlerPluginManager $field_plugin_manager: The content sync field plugin manager
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service
\Drupal\Core\Config\ConfigFactory $config_factory: The messenger service
\Drupal\Core\Cache\CacheTagsInvalidator $cache_tags_invalidator: The Drupal Core Cache Tags Invalidator
File
- src/
Form/ FlowForm.php, line 133
Class
- FlowForm
- Form handler for the Flow add and edit forms.
Namespace
Drupal\cms_content_sync\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $bundle_info_service, EntityFieldManager $entity_field_manager, EntityHandlerPluginManager $entity_plugin_manager, FieldHandlerPluginManager $field_plugin_manager, MessengerInterface $messenger, ConfigFactory $config_factory, CacheTagsInvalidator $cache_tags_invalidator) {
$this->entityTypeManager = $entity_type_manager;
$this->bundleInfoService = $bundle_info_service;
$this->entityFieldManager = $entity_field_manager;
$this->entityPluginManager = $entity_plugin_manager;
$this->fieldPluginManager = $field_plugin_manager;
$this->messenger = $messenger;
$this->configFactory = $config_factory;
$this->cacheTagsInvalidator = $cache_tags_invalidator;
}