oa_files.features.inc in Open Atrium Files 7.2
File
oa_files.features.inc
View source
<?php
function oa_files_default_command_button() {
$items = array();
$items['add_file'] = entity_import('command_button', '{
"bundle" : "button",
"name" : "add_file",
"title" : "Add File",
"language" : "und",
"field_command_link" : { "und" : [
{ "url" : "oa-files\\/upload", "title" : "Add File", "attributes" : [] }
]
},
"field_link_icon" : { "und" : [ { "value" : "icon-upload" } ] }
}');
return $items;
}
function oa_files_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "panelizer" && $api == "panelizer") {
return array(
"version" => "1",
);
}
if ($module == "strongarm" && $api == "strongarm") {
return array(
"version" => "1",
);
}
}