protected property EditTab::$entity in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 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 32
Class
- EditTab
- Defines a class for making the edit tab use 'Edit draft' or 'New draft'
Namespace
Drupal\workbench_moderation\Plugin\MenuCode
protected $entity;