You are here

constant ResourceFieldBase::ACCESS_ALLOW in RESTful 7.2

Return this value from public field access callbacks to allow access.

1 use of ResourceFieldBase::ACCESS_ALLOW
TestArticles__1_0::publicFieldAccessFalse in tests/modules/restful_test/src/Plugin/resource/node/test_article/v1/TestArticles__1_0.php
An access callback that returns TRUE if title is "access". Otherwise FALSE.

File

src/Plugin/resource/Field/ResourceFieldBase.php, line 23
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldBase.

Class

ResourceFieldBase

Namespace

Drupal\restful\Plugin\resource\Field

Code

const ACCESS_ALLOW = 'allow';