constant ResourceFieldBase::ACCESS_DENY in RESTful 7.2
Return this value from public field access callbacks to deny access.
1 use of ResourceFieldBase::ACCESS_DENY
- 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 28 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldBase.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
const ACCESS_DENY = 'deny';