function hook_scald_atom_user_build_actions_links_alter in Scald: Media Management made easy 7
Alters links that show up in the drag and drop library.
@codingStandardsIgnoreStart
Parameters
array $links: List of built action links.
ScaldAtom $atom: The atom that user action links are being built.
1 invocation of hook_scald_atom_user_build_actions_links_alter()
- scald_atom_user_build_actions_links in ./
scald.module - Builds an array of action links for a given atom.
File
- ./
scald.api.php, line 416 - Hooks related to Scald atoms and providers.
Code
function hook_scald_atom_user_build_actions_links_alter(&$links, $atom) {
// @codingStandardsIgnoreEnd
unset($links['delete']);
}