public function ResourceFieldCollectionInterface::setIdField in RESTful 7.2
Set the resource field that will return the ID.
Parameters
ResourceFieldInterface $id_field: The field to set.
1 method overrides ResourceFieldCollectionInterface::setIdField()
- ResourceFieldCollection::setIdField in src/
Plugin/ resource/ Field/ ResourceFieldCollection.php - Set the resource field that will return the ID.
File
- src/
Plugin/ resource/ Field/ ResourceFieldCollectionInterface.php, line 105 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldCollectionInterface.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function setIdField($id_field);