You are here

public function ModerationInformationInterface::isModeratableEntity in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/ModerationInformationInterface.php \Drupal\workbench_moderation\ModerationInformationInterface::isModeratableEntity()

Determines if an entity is one we should be moderating.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity we may be moderating.

Return value

bool TRUE if this is an entity that we should act upon, FALSE otherwise.

1 method overrides ModerationInformationInterface::isModeratableEntity()
ModerationInformation::isModeratableEntity in src/ModerationInformation.php
Determines if an entity is one we should be moderating.

File

src/ModerationInformationInterface.php, line 37

Class

ModerationInformationInterface
Interface for moderation_information service.

Namespace

Drupal\workbench_moderation

Code

public function isModeratableEntity(EntityInterface $entity);