You are here

public static function ResourceFieldEntityInterface::propertyIsField in RESTful 7.2

Checks if a given string represents a Field API field.

Parameters

string $name: The name of the field/property.

Return value

bool TRUE if it's a field. FALSE otherwise.

1 method overrides ResourceFieldEntityInterface::propertyIsField()
ResourceFieldEntity::propertyIsField in src/Plugin/resource/Field/ResourceFieldEntity.php
Checks if a given string represents a Field API field.

File

src/Plugin/resource/Field/ResourceFieldEntityInterface.php, line 121
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntityInterface.

Class

ResourceFieldEntityInterface

Namespace

Drupal\restful\Plugin\resource\Field

Code

public static function propertyIsField($name);