/** * {@inheritdoc} */ protected function buildPropertyQuery(QueryInterface $entity_query, array $values) { if (isset($values['name'])) { $entity_query->condition('name', $values['name'], 'LIKE'); unset($values['name']); } parent::buildPropertyQuery($entity_query, $values); }