You are here

public function ResourceFieldCollection::getIdField in RESTful 7.2

Get the resource field that will return the ID.

Return value

ResourceFieldInterface The field.

Overrides ResourceFieldCollectionInterface::getIdField

File

src/Plugin/resource/Field/ResourceFieldCollection.php, line 240
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldCollection.

Class

ResourceFieldCollection

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function getIdField() {
  return $this->idField;
}