public function views_handler_filter_entity_bundle::init in Views (for Drupal 7) 7.3
Provide some extra help to get the operator/value easier to use.
This likely has to be overridden by filters which are more complex than simple operator/value.
Overrides views_handler_filter::init
File
- handlers/
views_handler_filter_entity_bundle.inc, line 27 - Definition of views_handler_filter_entity_bundle.
Class
- views_handler_filter_entity_bundle
- Filter class which allows to filter by certain bundles of an entity.
Code
public function init(&$view, &$options) {
parent::init($view, $options);
$this
->get_entity_type();
}