ModerationInformationInterface::shouldModerateEntitiesOfBundle

public ModerationInformationInterface::shouldModerateEntitiesOfBundle(EntityTypeInterface $entity_type, $bundle)

Determines if an entity type/bundle entities should be moderated.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition to check.

string $bundle: The bundle to check.

Return value

bool TRUE if an entity type/bundle entities should be moderated, FALSE otherwise.

File

core/modules/content_moderation/src/ModerationInformationInterface.php, line 48

Class

ModerationInformationInterface
Interface for moderation_information service.

Namespace

Drupal\content_moderation

Code

public function shouldModerateEntitiesOfBundle(EntityTypeInterface $entity_type, $bundle);
doc_Drupal
2016-10-29 09:28:35
Comments
Leave a Comment

Please login to continue.