You are here

public function ServicesResourceControllerInterface::update in Services Entity API 7.2

Update an existing resource.

Parameters

string $entity_type: The type of the resource that should be updated.

int|string $entity_id: The id of the resource that should be updated.

array $values: An array of values for the properties to be updated, keyed by property name.

1 method overrides ServicesResourceControllerInterface::update()
ServicesEntityResourceController::update in plugins/services_entity_resource.inc
Implements ServicesResourceControllerInterface::update().

File

plugins/services_entity_interface.inc, line 81
Services Entity module integration for entities.

Class

ServicesResourceControllerInterface
Specifies CRUD and access methods for resources.

Code

public function update($entity_type, $entity_id, array $values);