ViewsData::__construct

public ViewsData::__construct(EntityTypeManagerInterface $entity_type_manager, ModerationInformationInterface $moderation_information)

Creates a new ViewsData instance.

Parameters

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

\Drupal\content_moderation\ModerationInformationInterface $moderation_information: The moderation information.

File

core/modules/content_moderation/src/ViewsData.php, line 38

Class

ViewsData
Provides the content_moderation views integration.

Namespace

Drupal\content_moderation

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ModerationInformationInterface $moderation_information) {
  $this->entityTypeManager = $entity_type_manager;
  $this->moderationInformation = $moderation_information;
}
doc_Drupal
2016-10-29 09:55:01
Comments
Leave a Comment

Please login to continue.