3 namespace Drupal\language;
5 use Drupal\Core\Config\Entity\ConfigEntityInterface;
6 use Drupal\Core\Language\LanguageInterface;
9 * Provides an interface defining a language entity.
11 interface ConfigurableLanguageInterface extends ConfigEntityInterface, LanguageInterface {
14 * Sets the name of the language.
17 * The human-readable English name of the language.
21 public function setName($name);
24 * Sets the weight of the language.
27 * The weight, used to order languages with larger positive weights sinking
28 * items toward the bottom of lists.
32 public function setWeight($weight);