You are here

protected property ParagraphsTypeAccessControlHandler::$viewLabelOperation in Paragraphs 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/ParagraphsTypeAccessControlHandler.php, line 20

Class

ParagraphsTypeAccessControlHandler
Defines the access control handler for the Paragraphs type entity type.

Namespace

Drupal\paragraphs

Code

protected $viewLabelOperation = TRUE;