You are here

public function DataProvider::getLangCode in RESTful 7.2

Get the language code.

Return value

string The language code

Overrides DataProviderInterface::getLangCode

1 call to DataProvider::getLangCode()
DataProviderEntity::initDataInterpreter in src/Plugin/resource/DataProvider/DataProviderEntity.php
Get the data interpreter.

File

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

Class

DataProvider

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

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