public function PublicFieldInfoBase::prepare in RESTful 7.2
Generates an structured array ready to be encoded.
Return value
array The structured array of information.
Overrides PublicFieldInfoInterface::prepare
File
- src/
Plugin/ resource/ Field/ PublicFieldInfo/ PublicFieldInfoBase.php, line 74 - Contains \Drupal\restful\Plugin\resource\Field\PublicFieldInfo\PublicFieldInfoBase.
Class
Namespace
Drupal\restful\Plugin\resource\Field\PublicFieldInfoCode
public function prepare() {
return $this->categories;
}