public function DataProviderInterface::setLangCode in RESTful 7.2
Sets the language code.
Parameters
string $langcode: The language code.
3 methods override DataProviderInterface::setLangCode()
- CacheDecoratedDataProvider::setLangCode in src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php - Sets the language code.
- DataProvider::setLangCode in src/
Plugin/ resource/ DataProvider/ DataProvider.php - Sets the language code.
- DataProviderDecorator::setLangCode in src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php - Sets the language code.
File
- src/
Plugin/ resource/ DataProvider/ DataProviderInterface.php, line 115 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderInterface.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function setLangCode($langcode);