You are here

function hook_flag_link_type_info_alter in Flag 8.4

Same name and namespace in other branches
  1. 7.3 flag.api.php \hook_flag_link_type_info_alter()

Alter other modules' definitions of flag link types.

This hook may be placed in a $module.flag.inc file.

Parameters

$link_types: An array of the link types defined by all modules.

See also

\Drupal\flag\ActionLink\ActionLinkPluginManager

1 invocation of hook_flag_link_type_info_alter()
ActionLinkPluginManager::__construct in src/ActionLink/ActionLinkPluginManager.php
Creates the discovery object.

File

./flag.api.php, line 59
Hooks provided by the Flag module.

Code

function hook_flag_link_type_info_alter(array &$link_types) {
}