You are here

public function ModerationInformationInterface::isModeratedEntityForm in Workbench Moderation 8

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

Determines if this form is for a moderated entity.

Parameters

\Drupal\Core\Form\FormInterface $form_object: The form definition object for this form.

Return value

bool TRUE if the form is for an entity that is subject to moderation, FALSE otherwise.

1 method overrides ModerationInformationInterface::isModeratedEntityForm()
ModerationInformation::isModeratedEntityForm in src/ModerationInformation.php
Determines if this form is for a moderated entity.

File

src/ModerationInformationInterface.php, line 115

Class

ModerationInformationInterface
Interface for moderation_information service.

Namespace

Drupal\workbench_moderation

Code

public function isModeratedEntityForm(FormInterface $form_object);