public function InlineEditingDisabler::__construct in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 src/InlineEditingDisabler.php \Drupal\workbench_moderation\InlineEditingDisabler::__construct()
Creates a new InlineEditingDisabler instance.
Parameters
\Drupal\workbench_moderation\ModerationInformationInterface $moderation_info: The moderation info.
File
- src/
InlineEditingDisabler.php, line 26
Class
- InlineEditingDisabler
- Disables the inline editing for entities with forward revisions.
Namespace
Drupal\workbench_moderationCode
public function __construct(ModerationInformationInterface $moderation_info) {
$this->moderationInfo = $moderation_info;
}