You are here

public static function DataProviderDecorator::isNestedField in RESTful 7.2

Checks if the passed in string is a dot-nested field.

Parameters

string $field_name: The field name.

Return value

bool TRUE if the field is nested. FALSE otherwise.

Overrides DataProviderInterface::isNestedField

File

src/Plugin/resource/DataProvider/DataProviderDecorator.php, line 196
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDecorator.

Class

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public static function isNestedField($field_name) {
  return DataProvider::isNestedField($field_name);
}