View source
<?php
function varbase_editor_default_linkit_profiles() {
$export = array();
$linkit_profile = new LinkitProfile();
$linkit_profile->disabled = FALSE;
$linkit_profile->api_version = 1;
$linkit_profile->name = 'field_profile';
$linkit_profile->admin_title = 'Field profile';
$linkit_profile->admin_description = '';
$linkit_profile->profile_type = '2';
$linkit_profile->data = array(
'search_plugins' => array(
'entity:taxonomy_term' => array(
'enabled' => 0,
'weight' => '-10',
),
'entity:node' => array(
'enabled' => 1,
'weight' => '-10',
),
'entity:file' => array(
'enabled' => 0,
'weight' => '-10',
),
'entity:user' => array(
'enabled' => 1,
'weight' => '-10',
),
),
'entity:node' => array(
'result_description' => '',
'bundles' => array(
'basic_page' => 0,
'documents' => 0,
'news' => 0,
),
'group_by_bundle' => 1,
'include_unpublished' => 0,
),
'entity:file' => array(
'result_description' => '',
'bundles' => array(
'image' => 0,
'video' => 0,
'audio' => 0,
'document' => 0,
),
'group_by_bundle' => 0,
'show_scheme' => 0,
'group_by_scheme' => 0,
'image_extra_info' => array(
'thumbnail' => 'thumbnail',
'dimensions' => 'dimensions',
),
'url_type' => 'entity',
),
'entity:taxonomy_term' => array(
'result_description' => '',
),
'entity:user' => array(
'result_description' => '',
),
'insert_plugin' => array(
'plugin' => 'raw_url',
'url_method' => '2',
),
'attribute_plugins' => array(
'title' => array(
'enabled' => 0,
'weight' => '-10',
),
'class' => array(
'enabled' => 0,
'weight' => '-10',
),
'id' => array(
'enabled' => 0,
'weight' => '-10',
),
'target' => array(
'enabled' => 0,
'weight' => '-10',
),
'rel' => array(
'enabled' => 0,
'weight' => '-10',
),
'accesskey' => array(
'enabled' => 0,
'weight' => '-10',
),
),
'autocomplete' => array(
'charLimit' => '3',
'wait' => '350',
'remoteTimeout' => '10000',
),
);
$export['field_profile'] = $linkit_profile;
$linkit_profile = new LinkitProfile();
$linkit_profile->disabled = FALSE;
$linkit_profile->api_version = 1;
$linkit_profile->name = 'wysiwyg_profile';
$linkit_profile->admin_title = 'WYSIWYG profile';
$linkit_profile->admin_description = '';
$linkit_profile->profile_type = '1';
$linkit_profile->data = array(
'text_formats' => array(
'visual_editor' => 'visual_editor',
'basic_editor' => 0,
'html_editor' => 0,
'plain_text' => 0,
),
'search_plugins' => array(
'entity:taxonomy_term' => array(
'enabled' => 0,
'weight' => '-10',
),
'entity:node' => array(
'enabled' => 1,
'weight' => '-10',
),
'entity:file' => array(
'enabled' => 1,
'weight' => '-10',
),
'entity:user' => array(
'enabled' => 1,
'weight' => '-10',
),
),
'entity:node' => array(
'result_description' => '',
'bundles' => array(
'basic_page' => 0,
'documents' => 0,
'news' => 0,
),
'group_by_bundle' => 1,
'include_unpublished' => 0,
),
'entity:file' => array(
'result_description' => '',
'bundles' => array(
'image' => 0,
'video' => 0,
'audio' => 0,
'document' => 0,
),
'group_by_bundle' => 1,
'show_scheme' => 0,
'group_by_scheme' => 0,
'image_extra_info' => array(
'thumbnail' => 'thumbnail',
'dimensions' => 'dimensions',
),
'url_type' => 'entity',
),
'entity:taxonomy_term' => array(
'result_description' => '',
),
'entity:user' => array(
'result_description' => '',
),
'insert_plugin' => array(
'url_method' => '2',
),
'attribute_plugins' => array(
'title' => array(
'enabled' => 0,
'weight' => '-10',
),
'class' => array(
'enabled' => 0,
'weight' => '-10',
),
'id' => array(
'enabled' => 0,
'weight' => '-10',
),
'target' => array(
'enabled' => 0,
'weight' => '-10',
),
'rel' => array(
'enabled' => 0,
'weight' => '-10',
),
'accesskey' => array(
'enabled' => 0,
'weight' => '-10',
),
),
'autocomplete' => array(
'charLimit' => '3',
'wait' => '350',
'remoteTimeout' => '10000',
),
);
$export['wysiwyg_profile'] = $linkit_profile;
return $export;
}