You are here

public function ModerationStateTransition::setModerationStateConfigPrefix in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 src/Entity/ModerationStateTransition.php \Drupal\workbench_moderation\Entity\ModerationStateTransition::setModerationStateConfigPrefix()

Sets the moderation state config prefix.

Parameters

string $moderation_state_config_prefix: Moderation state config prefix.

Return value

self Called instance.

Overrides ModerationStateTransitionInterface::setModerationStateConfigPrefix

File

src/Entity/ModerationStateTransition.php, line 139

Class

ModerationStateTransition
Defines the Moderation state transition entity.

Namespace

Drupal\workbench_moderation\Entity

Code

public function setModerationStateConfigPrefix($moderation_state_config_prefix) {
  $this->moderationStateConfigPrefix = $moderation_state_config_prefix;
  return $this;
}