public function ResourceFieldCollection::key in RESTful 7.2
File
- src/
Plugin/ resource/ Field/ ResourceFieldCollection.php, line 197 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldCollection.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function key() {
return key($this->fields);
}