You are here

protected property BundleEntityAccessControlHandler::$viewLabelOperation in Entity API 8

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/BundleEntityAccessControlHandler.php, line 21

Class

BundleEntityAccessControlHandler
Controls access to bundle entities.

Namespace

Drupal\entity

Code

protected $viewLabelOperation = TRUE;