function ModerationInformationInterface::canModerateEntitiesOfEntityType
Same name in other branches
- 9 core/modules/content_moderation/src/ModerationInformationInterface.php \Drupal\content_moderation\ModerationInformationInterface::canModerateEntitiesOfEntityType()
- 10 core/modules/content_moderation/src/ModerationInformationInterface.php \Drupal\content_moderation\ModerationInformationInterface::canModerateEntitiesOfEntityType()
- 11.x core/modules/content_moderation/src/ModerationInformationInterface.php \Drupal\content_moderation\ModerationInformationInterface::canModerateEntitiesOfEntityType()
Determines if an entity type can have moderated entities.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: An entity type object.
Return value
bool TRUE if this entity type can have moderated entities, FALSE otherwise.
1 method overrides ModerationInformationInterface::canModerateEntitiesOfEntityType()
- ModerationInformation::canModerateEntitiesOfEntityType in core/
modules/ content_moderation/ src/ ModerationInformation.php - Determines if an entity type can have moderated entities.
File
-
core/
modules/ content_moderation/ src/ ModerationInformationInterface.php, line 34
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\content_moderationCode
public function canModerateEntitiesOfEntityType(EntityTypeInterface $entity_type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.