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