You are here

public function Framework::fieldInfoField in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::fieldInfoField()
  2. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::fieldInfoField()

Retrieve information about one field.

Parameters

string $name: A field name.

Return value

array Information about a field, corresponds to the return of field_info_field() in Drupal 7.

Overrides FrameworkInterface::fieldInfoField

1 method overrides Framework::fieldInfoField()
Drupal8::fieldInfoField in api/src/Framework/Drupal8.php
Retrieve information about one field.

File

api/src/Framework/Framework.php, line 124

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function fieldInfoField($name) {
  return $this
    ->implementor()
    ->fieldInfoField($name);
}