getContentLanguage method

getContentLanguage for meta content language, this method used only with setContentLanguage method.

Basic Usage

The basic usage for getContentLanguage method.

getContentLanguage(): string

Parameters

There is no parameter available for getContentLanguage method.

Example Usage

Here is the full example of getContentLanguage method in a layout file.

<!DOCTYPE html>
<html lang="<?=$this->getContentLanguage()?>">
...