You are here

describeMultiPlugin.php in Crumbs, the Breadcrumbs suite 7

Same filename and directory in other branches
  1. 7.2 lib/InjectedAPI/describeMultiPlugin.php

File

lib/InjectedAPI/describeMultiPlugin.php
View source
<?php

/**
 * Injected API object for the describe() method of multi plugins.
 */
class crumbs_InjectedAPI_describeMultiPlugin {
  protected $pluginOperation;
  function __construct($plugin_operation) {
    $this->pluginOperation = $plugin_operation;
  }
  function addRule($key_suffix, $title = TRUE) {
    $this->pluginOperation
      ->addRule($key_suffix, $title);
  }

}

Classes

Namesort descending Description
crumbs_InjectedAPI_describeMultiPlugin Injected API object for the describe() method of multi plugins.