You are here

function rules_link_load in Rules Link 7.2

Same name and namespace in other branches
  1. 7 rules_link.module \rules_link_load()

Menu argument loader; Load a rules link by string.

Parameters

$name: The machine-readable name of a rules link to load.

Return value

A rules link array or FALSE if $name does not exist.

6 calls to rules_link_load()
RulesLinkTestCase::testConfirmLink in ./rules_link.test
Test creating a new confirmation link.
RulesLinkTestCase::testTokenLink in ./rules_link.test
Test creating a new token link.
rules_link_menu_breadcrumb_alter in ./rules_link.module
Alter the breadcrumb trail of the rules components.
rules_link_render in ./rules_link.module
Renders a link using the name of the rules_link and the entity id.
rules_link_trigger_form_submit in ./rules_link.module
Submit function for the confirm form links.

... See full list

File

./rules_link.module, line 52
Rules Link - module file.

Code

function rules_link_load($name) {
  return rules_link_get_links($name);
}