public function EntityAccessByFieldPermissions::getRealmForFieldValue in Open Social 8.5
Same name and namespace in other branches
- 8.9 modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 8 modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 8.2 modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 8.3 modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 8.4 modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 8.6 modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 8.7 modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 8.8 modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 10.3.x modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 10.0.x modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 10.1.x modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
- 10.2.x modules/custom/entity_access_by_field/src/EntityAccessByFieldPermissions.php \Drupal\entity_access_by_field\EntityAccessByFieldPermissions::getRealmForFieldValue()
Returns a realm for a field value in order to create access.
Return value
string The string with the realm created.
1 call to EntityAccessByFieldPermissions::getRealmForFieldValue()
- EntityAccessByFieldPermissions::getRealmWithPermission in modules/
custom/ entity_access_by_field/ src/ EntityAccessByFieldPermissions.php - Get the realms array with permissions as value.
File
- modules/
custom/ entity_access_by_field/ src/ EntityAccessByFieldPermissions.php, line 131
Class
- EntityAccessByFieldPermissions
- EntityAccessByFieldPermissions.
Namespace
Drupal\entity_access_by_fieldCode
public function getRealmForFieldValue($op, $entity_type, $bundle_id, $field_name, $field_value) {
$realm = $op . '_' . $entity_type . '_' . $bundle_id . '_' . $field_name . '_' . $field_value;
return $realm;
}