You are here

public function Menu::query in Drupal 8

Same name and namespace in other branches
  1. 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

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