You are here

public function DataProviderDecorator::getLangCode in RESTful 7.2

Get the language code.

Return value

string The language code

Overrides DataProviderInterface::getLangCode

File

src/Plugin/resource/DataProvider/DataProviderDecorator.php, line 77
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDecorator.

Class

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function getLangCode() {
  return $this->decorated
    ->getLangCode();
}