public function DataProviderDbQuery::getPrimary in RESTful 7.2
Gets the primary field.
Return value
string The field name.
Overrides DataProviderDbQueryInterface::getPrimary
File
- src/
Plugin/ resource/ DataProvider/ DataProviderDbQuery.php, line 89 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDbQuery.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function getPrimary() {
return $this->primary;
}