class views_handler_field_block_custom in Views Hacks 6
Same name and namespace in other branches
- 7 views_block/handlers/views_handler_field_block_custom.inc \views_handler_field_block_custom
Hierarchy
- class \views_handler_field_block_custom extends \views_handler_field
Expanded class hierarchy of views_handler_field_block_custom
1 string reference to 'views_handler_field_block_custom'
- views_block_views_data in views_block/
views_block.views.inc - Implementation of hook_views_data()
File
- views_block/
handlers/ views_handler_field_block_custom.inc, line 3
View source
class views_handler_field_block_custom extends views_handler_field {
function render($values) {
$strings = array(
t('Show always'),
t('Show by default'),
t('Hide by default'),
);
return $strings[$values->{$this->field_alias}];
}
}