function twitter_views_handler_field_xss::option_definition in Twitter 6.5
Same name and namespace in other branches
- 6.2 twitter_views_field_handlers.inc \twitter_views_handler_field_xss::option_definition()
- 6.3 twitter_views_field_handlers.inc \twitter_views_handler_field_xss::option_definition()
- 6.4 twitter_views_field_handlers.inc \twitter_views_handler_field_xss::option_definition()
- 7.6 twitter_views_field_handlers.inc \twitter_views_handler_field_xss::option_definition()
- 7.3 twitter_views_field_handlers.inc \twitter_views_handler_field_xss::option_definition()
- 7.4 twitter_views_field_handlers.inc \twitter_views_handler_field_xss::option_definition()
- 7.5 twitter_views_field_handlers.inc \twitter_views_handler_field_xss::option_definition()
File
- ./
twitter_views_field_handlers.inc, line 11 - Views handlers for Twitter module.
Class
- twitter_views_handler_field_xss
- Process Twitter-style @usernames and URLs before filtering XSS.
Code
function option_definition() {
$options = parent::option_definition();
$options['link_urls'] = array(
'default' => TRUE,
);
$options['link_usernames'] = array(
'default' => TRUE,
);
$options['link_hashtags'] = array(
'default' => TRUE,
);
$options['link_attributes'] = array(
'default' => TRUE,
);
return $options;
}