You are here

Language.php in Flags 8

File

src/Mapping/Language.php
View source
<?php

namespace Drupal\flags\Mapping;

use Drupal\flags\Mapping\BaseMapping;

/**
 * Maps language code to country/territory code.
 *
 * Class Language
 */
class Language extends BaseMapping {
  protected $extraClasses = [
    'flag-lang',
  ];

  /**
   * {@inheritDoc}
   */
  protected function getConfigKey() {
    return 'flags.language_flag_mapping';
  }

}

Classes

Namesort descending Description
Language Maps language code to country/territory code.