You are here

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\DataProvider

Code

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