You are here

public function ResourceInterface::replace in RESTful 7.2

Basic implementation for update.

Parameters

string $path: The resource path.

Return value

array An array of structured data for the thing that was replaced.

2 methods override ResourceInterface::replace()
Resource::replace in src/Plugin/resource/Resource.php
Basic implementation for update.
ResourceDecoratorBase::replace in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Basic implementation for update.

File

src/Plugin/resource/ResourceInterface.php, line 255
Contains \Drupal\restful\Plugin\resource\ResourceInterface.

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function replace($path);