public function DataProviderDecorator::setLangCode in RESTful 7.2
Sets the language code.
Parameters
string $langcode: The language code.
Overrides DataProviderInterface::setLangCode
File
- src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php, line 84 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDecorator.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function setLangCode($langcode) {
$this->decorated
->setLangCode($langcode);
}