Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / language / src / ConfigurableLanguageInterface.php
1 <?php
2
3 namespace Drupal\language;
4
5 use Drupal\Core\Config\Entity\ConfigEntityInterface;
6 use Drupal\Core\Language\LanguageInterface;
7
8 /**
9  * Provides an interface defining a language entity.
10  */
11 interface ConfigurableLanguageInterface extends ConfigEntityInterface, LanguageInterface {
12
13   /**
14    * Sets the name of the language.
15    *
16    * @param string $name
17    *   The human-readable English name of the language.
18    *
19    * @return $this
20    */
21   public function setName($name);
22
23   /**
24    * Sets the weight of the language.
25    *
26    * @param int $weight
27    *   The weight, used to order languages with larger positive weights sinking
28    *   items toward the bottom of lists.
29    *
30    * @return $this
31    */
32   public function setWeight($weight);
33
34 }