You are here

public function BundleModerationConfigurationForm::getBaseFormId in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/Form/BundleModerationConfigurationForm.php \Drupal\workbench_moderation\Form\BundleModerationConfigurationForm::getBaseFormId()

We need to blank out the base form ID so that poorly written form alters that use the base form ID to target both add and edit forms don't pick up our form. This should be fixed in core.

Overrides EntityForm::getBaseFormId

File

src/Form/BundleModerationConfigurationForm.php, line 46

Class

BundleModerationConfigurationForm
Form for configuring moderation usage on a given entity bundle.

Namespace

Drupal\workbench_moderation\Form

Code

public function getBaseFormId() {
  return NULL;
}