public function CacheDecoratedDataProvider::getLangCode in RESTful 7.2
Get the language code.
Return value
string The language code
Overrides DataProviderInterface::getLangCode
File
- src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php, line 118 - Contains \Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProvider.
Class
- CacheDecoratedDataProvider
- Class CacheDecoratedDataProvider.
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function getLangCode() {
return $this->subject
->getLangCode();
}