views_handler_filter_block_theme.inc in Views Hacks 6
Same filename and directory in other branches
File
views_block/handlers/views_handler_filter_block_theme.incView source
<?php
/**
* Filter based on block theme.
*/
class views_handler_filter_block_theme extends views_handler_filter_in_operator {
function get_value_options() {
foreach (list_themes() as $key => $theme) {
$this->value_options[$key] = $theme->name;
}
ksort($this->value_options);
$this->value_options = array(
'***CURRENT_THEME***' => t('***CURRENT_THEME***'),
) + $this->value_options;
}
}
Classes
Name | Description |
---|---|
views_handler_filter_block_theme | Filter based on block theme. |