Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigurableLanguage.php

function ConfigurableLanguage::setWeight

Overrides ConfigurableLanguageInterface::setWeight

File

core/modules/language/src/Entity/ConfigurableLanguage.php, line 264

Class

ConfigurableLanguage
Defines the ConfigurableLanguage entity.

Namespace

Drupal\language\Entity

Code

public function setWeight($weight) {
    $this->weight = $weight;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal