You are here

function oa_files_default_command_button in Open Atrium Files 7.2

Implements hook_default_command_button().

File

./oa_files.features.inc, line 10
oa_files.features.inc

Code

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;
}