protected function FormatterHalJson::getCurie in RESTful 7.2
Checks if the current plugin has a defined curie.
Return value
array Associative array with the curie information.
2 calls to FormatterHalJson::getCurie()
- FormatterHalJson::addHateoas in src/
Plugin/ formatter/ FormatterHalJson.php - Add HATEOAS links to list of item.
- FormatterHalJson::withCurie in src/
Plugin/ formatter/ FormatterHalJson.php - Prefix a property name with the curie, if present.
File
- src/
Plugin/ formatter/ FormatterHalJson.php, line 266 - Contains \Drupal\restful\Plugin\formatter\FormatterHalJson.
Class
- FormatterHalJson
- Class FormatterHalJson @package Drupal\restful\Plugin\formatter
Namespace
Drupal\restful\Plugin\formatterCode
protected function getCurie() {
return $this->configuration['curie'];
}