public static function FieldPermissionsServiceInterface::isCommentField in Field Permissions 8.2
Same name and namespace in other branches
- 8 src/FieldPermissionsServiceInterface.php \Drupal\field_permissions\FieldPermissionsServiceInterface::isCommentField()
Field is attached to comment entity.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: Fields to get permissions.
Return value
bool TRUE if in a comment entity.
1 method overrides FieldPermissionsServiceInterface::isCommentField()
- FieldPermissionsService::isCommentField in src/
FieldPermissionsService.php - Field is attached to comment entity.
File
- src/
FieldPermissionsServiceInterface.php, line 70
Class
- FieldPermissionsServiceInterface
- Implement FieldPermission Interface.
Namespace
Drupal\field_permissionsCode
public static function isCommentField(FieldDefinitionInterface $field_definition);