public function DataProviderDbQueryInterface::setPrimary in RESTful 7.2
Sets the primary field.
Parameters
string $primary: The field name.
1 method overrides DataProviderDbQueryInterface::setPrimary()
- DataProviderDbQuery::setPrimary in src/
Plugin/ resource/ DataProvider/ DataProviderDbQuery.php - Sets the primary field.
File
- src/
Plugin/ resource/ DataProvider/ DataProviderDbQueryInterface.php, line 42 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDbQueryInterface.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function setPrimary($primary);