You are here

protected property EditTab::$entity in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Menu/EditTab.php \Drupal\workbench_moderation\Plugin\Menu\EditTab::entity

The entity.

Type: \Drupal\Core\Entity\ContentEntityInterface

File

src/Plugin/Menu/EditTab.php, line 33

Class

EditTab
Defines a class for making the edit tab use 'Edit draft' or 'New draft'.

Namespace

Drupal\workbench_moderation\Plugin\Menu

Code

protected $entity;