function LanguageOptions::__construct

Constructs a LanguageOptions object.

Parameters

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language_manager service.

File

src/TypedData/Options/LanguageOptions.php, line 29

Class

LanguageOptions
Options provider to list all languages enabled on the site.

Namespace

Drupal\rules\TypedData\Options

Code

public function __construct(LanguageManagerInterface $language_manager) {
    $this->languageManager = $language_manager;
}