public function DataProviderDbQueryInterface::getPrimary in RESTful 7.2
Gets the primary field.
Return value
string The field name.
1 method overrides DataProviderDbQueryInterface::getPrimary()
- DataProviderDbQuery::getPrimary in src/
Plugin/ resource/ DataProvider/ DataProviderDbQuery.php - Gets the primary field.
File
- src/
Plugin/ resource/ DataProvider/ DataProviderDbQueryInterface.php, line 34 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDbQueryInterface.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function getPrimary();