protected function PhoneNumberSettingsListBuilder::buildPhoneNumberVerificationQuery in SMS Framework 8
Builds a phone number verification query.
Parameters
string $entity_type_id: Entity type to query.
string $bundle: Entity bundle to query.
Return value
\Drupal\Core\Entity\Query\QueryInterface A phone number entity query.
File
- src/
Lists/ PhoneNumberSettingsListBuilder.php, line 146
Class
- PhoneNumberSettingsListBuilder
- Builds a list of phone number settings.
Namespace
Drupal\sms\ListsCode
protected function buildPhoneNumberVerificationQuery($entity_type_id, $bundle) {
return $this->phoneNumberVerificationStorage
->getQuery()
->condition('entity__target_type', $entity_type_id)
->condition('bundle', $bundle);
}