You are here

public function Action::query in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/action/src/Plugin/migrate/source/d6/Action.php \Drupal\action\Plugin\migrate\source\d6\Action::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/action/src/Plugin/migrate/source/d6/Action.php, line 24
Contains \Drupal\action\Plugin\migrate\source\d6\Action.

Class

Action
Drupal 6 action source from database.

Namespace

Drupal\action\Plugin\migrate\source\d6

Code

public function query() {
  $query = $this
    ->select('actions', 'a')
    ->fields('a', array(
    'aid',
    'type',
    'callback',
    'parameters',
    'description',
  ));
  return $query;
}