You are here

protected property ProductVariationTypeAccessControlHandler::$viewLabelOperation in Commerce Core 8.2

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 BundleEntityAccessControlHandler::$viewLabelOperation

File

modules/product/src/ProductVariationTypeAccessControlHandler.php, line 23

Class

ProductVariationTypeAccessControlHandler
Controls access to product variation type entities.

Namespace

Drupal\commerce_product

Code

protected $viewLabelOperation = TRUE;