You are here

public function FormatterManagerInterface::setResource in RESTful 7.2

Sets the resource.

Parameters

ResourceInterface $resource: The resource.

1 method overrides FormatterManagerInterface::setResource()
FormatterManager::setResource in src/Formatter/FormatterManager.php
Sets the resource.

File

src/Formatter/FormatterManagerInterface.php, line 21
Contains \Drupal\restful\Formatter\FormatterManagerInterface

Class

FormatterManagerInterface

Namespace

Drupal\restful\Formatter

Code

public function setResource($resource);