ReadOnlyModeMethodFilter::$readOnlyModeIsEnabled

Same name in other branches
  1. 9 core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php \Drupal\jsonapi\Routing\ReadOnlyModeMethodFilter::readOnlyModeIsEnabled
  2. 8.9.x core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php \Drupal\jsonapi\Routing\ReadOnlyModeMethodFilter::readOnlyModeIsEnabled
  3. 10 core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php \Drupal\jsonapi\Routing\ReadOnlyModeMethodFilter::readOnlyModeIsEnabled

Whether JSON:API's read-only mode is enabled.

Type: bool

File

core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php, line 29

Class

ReadOnlyModeMethodFilter
Filters routes based on the HTTP method and JSON:API's read-only mode.

Namespace

Drupal\jsonapi\Routing

Code

protected $readOnlyModeIsEnabled;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.