You are here

function hook_scald_actions in Scald: Media Management made easy 7

Define information about atom actions.

The 'create' action machine name is reserved by Scald core and must not be used.

Return value

array The array is keyed by action machine name, each array element is another array, keyed by

  • 'title'.
  • 'adjective': with -able suffix to generate permission name.
  • 'description'.
1 function implements hook_scald_actions()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

scald_scald_actions in ./scald.module
Implements hook_scald_actions().

File

./scald.api.php, line 220
Hooks related to Scald atoms and providers.

Code

function hook_scald_actions() {
  return array(
    'embed' => array(
      'title' => t('Embed'),
      'adjective' => t('Embedable'),
      'description' => t('Allows to embed atom in a 3rd website.'),
    ),
  );
}