You are here

public function ContentModerationInterface::getEntityTypes in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php \Drupal\content_moderation\Plugin\WorkflowType\ContentModerationInterface::getEntityTypes()

Gets the entity types the workflow is applied to.

Return value

string[] The entity types the workflow is applied to.

1 method overrides ContentModerationInterface::getEntityTypes()
ContentModeration::getEntityTypes in core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
Gets the entity types the workflow is applied to.

File

core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php, line 18

Class

ContentModerationInterface
Interface for ContentModeration WorkflowType plugin.

Namespace

Drupal\content_moderation\Plugin\WorkflowType

Code

public function getEntityTypes();