public function ModerationInformationInterface::shouldModerateEntitiesOfBundle in Config Entity Revisions 8.2
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
- src/
ModerationInformationInterface.php, line 51
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\config_entity_revisionsCode
public function shouldModerateEntitiesOfBundle(EntityTypeInterface $entity_type, $bundle);