You are here

public function Menu::query in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 25
Contains \Drupal\system\Plugin\migrate\source\Menu.

Class

Menu
Menu source from database.

Namespace

Drupal\system\Plugin\migrate\source

Code

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