You are here

public function Menu::query in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::query()
  2. 9 core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

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');
}