You are here

protected property SmartDateFormatAccessControlHandler::$viewLabelOperation in Smart Date 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
  2. 8 src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
  3. 3.0.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
  4. 3.1.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
  5. 3.2.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
  6. 3.3.x src/Entity/SmartDateFormatAccessControlHandler.php \Drupal\smart_date\Entity\SmartDateFormatAccessControlHandler::viewLabelOperation
  7. 3.4.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\Entity

Code

protected $viewLabelOperation = TRUE;