You are here

public function D7SmsNumber::query in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Plugin/migrate/source/D7SmsNumber.php \Drupal\sms\Plugin\migrate\source\D7SmsNumber::query()
  2. 2.1.x src/Plugin/migrate/source/D7SmsNumber.php \Drupal\sms\Plugin\migrate\source\D7SmsNumber::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

src/Plugin/migrate/source/D7SmsNumber.php, line 49

Class

D7SmsNumber
Source plugin for D7 sms_user phone number.

Namespace

Drupal\sms\Plugin\migrate\source

Code

public function query() {
  return $this
    ->select('sms_user', 'su')
    ->fields('su', array_keys($this
    ->fields()));
}