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

Breadcrumb

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

function LanguageConfiguration::getInfo

Overrides ElementInterface::getInfo

File

core/modules/language/src/Element/LanguageConfiguration.php, line 20

Class

LanguageConfiguration
Defines an element for language configuration for a single field.

Namespace

Drupal\language\Element

Code

public function getInfo() {
    $class = static::class;
    return [
        '#input' => TRUE,
        '#tree' => TRUE,
        '#process' => [
            [
                $class,
                'processLanguageConfiguration',
            ],
        ],
    ];
}

API Navigation

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