You are here

public function ResourceFieldEntity::getFormatter in RESTful 7.2

Return value

string

Overrides ResourceFieldEntityInterface::getFormatter

3 calls to ResourceFieldEntity::getFormatter()
ResourceFieldEntity::formatterValue in src/Plugin/resource/Field/ResourceFieldEntity.php
Get value from a field rendered by Drupal field API's formatter.
ResourceFieldEntity::singleValue in src/Plugin/resource/Field/ResourceFieldEntity.php
Returns the value for the current single field.
ResourceFieldEntityReference::value in src/Plugin/resource/Field/ResourceFieldEntityReference.php
Gets the value for the field given a data source.

File

src/Plugin/resource/Field/ResourceFieldEntity.php, line 691
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntity

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function getFormatter() {
  return $this->formatter;
}