protected property SmartDateFormatAccessControlHandler::$viewLabelOperation in Smart Date 3.4.x
Same name and namespace in other branches
- 8.2 src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
- 8 src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
- 3.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
- 3.0.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
- 3.1.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
- 3.2.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
- 3.3.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
Allows to grant access to just the labels.
By default, the "view label" operation falls back to "view". Set this to TRUE to allow returning different access when just listing entity labels.
Type: bool
Overrides EntityAccessControlHandler::$viewLabelOperation
File
- src/
Entity/ SmartDateFormatAccessControlHandler.php, line 20
Class
- SmartDateFormatAccessControlHandler
- Defines the access control handler for the smart date format entity type.
Namespace
Drupal\smart_date\EntityCode
protected $viewLabelOperation = TRUE;