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. 10 core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::query()
  3. 11.x core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::query()

Overrides SqlBase::query

File

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

Class

Menu
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.