You are here

public function ResourceFieldBase::autoDiscovery in RESTful 7.2

Basic auto discovery information.

Return value

array The array of information ready to be encoded.

File

src/Plugin/resource/Field/ResourceFieldBase.php, line 401
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldBase.

Class

ResourceFieldBase

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function autoDiscovery() {
  return $this
    ->getPublicFieldInfo()
    ->prepare();
}