function Menu::query

Same name in other branches
  1. 9 core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::query()
  2. 8.9.x core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::query()
  3. 10 core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::query()

Overrides SqlBase::query

1 call to Menu::query()
MenuTranslation::query in core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php
1 method overrides Menu::query()
MenuTranslation::query in core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php

File

core/modules/system/src/Plugin/migrate/source/Menu.php, line 25

Class

Menu
Drupal 6/7 menu source from database.

Namespace

Drupal\system\Plugin\migrate\source

Code

public function query() {
    return $this->select('menu_custom', 'm')
        ->fields('m');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.