function LanguageOptions::create

Overrides ContainerInjectionInterface::create

File

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

Class

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

Namespace

Drupal\rules\TypedData\Options

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('language_manager'));
}