123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <?php
- /**
- * @file
- * admin.features.filter.inc
- */
- /**
- * Implements hook_filter_default_formats().
- */
- function admin_filter_default_formats() {
- $formats = array();
- // Exported format: Filtred html.
- $formats['filtred_html'] = array(
- 'format' => 'filtred_html',
- 'name' => 'Filtred html',
- 'cache' => 1,
- 'status' => 1,
- 'weight' => 0,
- 'filters' => array(
- 'filter_html' => array(
- 'weight' => -10,
- 'status' => 1,
- 'settings' => array(
- 'allowed_html' => '<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <img> <h6> <h5> <h4> <h3> <h2> <h1>',
- 'filter_html_help' => 1,
- 'filter_html_nofollow' => 0,
- ),
- ),
- 'video_filter' => array(
- 'weight' => -1,
- 'status' => 1,
- 'settings' => array(
- 'video_filter_width' => 400,
- 'video_filter_height' => 400,
- 'video_filter_autoplay' => 0,
- 'video_filter_related' => 1,
- 'video_filter_html5' => 1,
- 'video_filter_codecs' => array(
- 'archive' => 'Archive.org',
- 'bliptv' => 'Blip.tv',
- 'candidcareer' => 'Candid Career',
- 'capped' => 'Capped',
- 'collegehumor' => 'College Humor',
- 'coub' => 'Coub',
- 'dailymotion' => 'DailyMotion',
- 'democracynow_fullshow' => 'DemocracyNow Fullshow',
- 'democracynow_story' => 'DemocracyNow Story',
- 'flickr_slideshows' => 'Flickr Slideshows',
- 'flickr_video' => 'Flickr Video',
- 'foxnews' => 'Fox News',
- 'gametrailers' => 'Game Trailers',
- 'gamevideos' => 'Game Videos',
- 'giphy' => 'Giphy',
- 'godtube' => 'GodTube',
- 'google' => 'Google Video',
- 'instagram' => 'Instagram',
- 'metacafe' => 'Meta Cafe',
- 'mailru' => 'Mail.Ru',
- 'myspace' => 'MySpace',
- 'myvideo' => 'MyVideo',
- 'picasa_slideshows' => 'Picasa Slideshows',
- 'rutube' => 'Rutube',
- 'slideshare' => 'Slideshare',
- 'streamhoster' => 'Streamhoster',
- 'teachertube' => 'Teachertube',
- 'ted' => 'TED',
- 'twitch' => 'Twitch',
- 'ustream' => 'Ustream',
- 'vbox' => 'Vbox7',
- 'vimeo' => 'Vimeo',
- 'vine' => 'Vine',
- 'whatchado' => 'whatchado',
- 'wistia' => 'Wistia',
- 'youku' => 'YouKu',
- 'youtube' => 'YouTube',
- 'youtube_playlist' => 'YouTube (Playlist)',
- ),
- 'video_filter_multiple_sources' => TRUE,
- ),
- ),
- 'filter_url' => array(
- 'weight' => 0,
- 'status' => 1,
- 'settings' => array(
- 'filter_url_length' => 72,
- ),
- ),
- ),
- );
- // Exported format: Plain text.
- $formats['plain_text'] = array(
- 'format' => 'plain_text',
- 'name' => 'Plain text',
- 'cache' => 1,
- 'status' => 1,
- 'weight' => 10,
- 'filters' => array(
- 'filter_html_escape' => array(
- 'weight' => 0,
- 'status' => 1,
- 'settings' => array(),
- ),
- 'filter_url' => array(
- 'weight' => 1,
- 'status' => 1,
- 'settings' => array(
- 'filter_url_length' => 72,
- ),
- ),
- 'filter_autop' => array(
- 'weight' => 2,
- 'status' => 1,
- 'settings' => array(),
- ),
- ),
- );
- return $formats;
- }
|