EntityBundle.php in EntityFieldQuery Views Backend 8
Same filename in this branch
Definition of Drupal\efq_views\Plugin\views\argument\EntityBundle.
Namespace
Drupal\efq_views\Plugin\views\argumentFile
src/Plugin/views/argument/EntityBundle.phpView source
<?php
/**
* @file
* Definition of Drupal\efq_views\Plugin\views\argument\EntityBundle.
*/
namespace Drupal\efq_views\Plugin\views\argument;
/**
* Basic argument handler to implement entity bundle arguments.
*
* @ingroup views_argument_handlers
*
* @ViewsArgument("efq_entity_bundle")
*/
/**
* Argument handler for entity bundles.
*/
class EntityBundle extends EntityString {
/**
* {@inheritdoc}
*/
public function query() {
$this->query->query
->entityCondition($this->real_field, $this->argument, '=');
}
}
Classes
Name | Description |
---|---|
EntityBundle | Argument handler for entity bundles. |