You are here

function plug_example_name_plugin_alter in Plug 7

Implements hook_name_plugin_alter().

Modifies the plugin definition programmatically. John is not a company!

File

modules/plug_example/plug_example.module, line 61
Module implementation file.

Code

function plug_example_name_plugin_alter(&$plugins) {
  $plugins['john']['company'] = FALSE;
}