You are here

public static function CacheDecoratedDataProvider::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/CacheDecoratedDataProvider.php, line 55
Contains \Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProvider.

Class

CacheDecoratedDataProvider
Class CacheDecoratedDataProvider.

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

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