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

Breadcrumb

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

function MenuTranslation::fields

Overrides Menu::fields

File

core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php, line 61

Class

MenuTranslation
Drupal 7 i18n menu translation source from database.

Namespace

Drupal\system\Plugin\migrate\source\d7

Code

public function fields() {
    $fields = [
        'lid' => $this->t('Language string ID'),
        'language' => $this->t('Menu language'),
        'textgroup' => $this->t('A module defined group of translations'),
        'context' => $this->t('Full string ID for quick search: type:objectid:property.'),
        'objectid' => $this->t('Object ID'),
        'type' => $this->t('Object type for this string'),
        'property' => $this->t('Object property for this string'),
        'objectindex' => $this->t('Integer value of Object ID'),
        'format' => $this->t('The {filter_format}.format of the string'),
        'translation' => $this->t('Translation'),
        'plid' => $this->t('Parent lid'),
        'i18n_status' => $this->t('Translation needs update'),
    ] + parent::fields();
    return $fields;
}

API Navigation

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