You are here

public function ImcePluginManager::getHooks in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/ImcePluginManager.php \Drupal\imce\ImcePluginManager::getHooks()

Returns available hooks.

Return value

array An array of method names defined by plugin interface.

1 call to ImcePluginManager::getHooks()
ImcePluginManager::invokeAll in src/ImcePluginManager.php
Invokes a hook in all available plugins.

File

src/ImcePluginManager.php, line 94

Class

ImcePluginManager
Provides a plugin manager for Imce Plugins.

Namespace

Drupal\imce

Code

public function getHooks() {
  if (!isset($this->hooks)) {
    $this->hooks = get_class_methods('Drupal\\imce\\ImcePluginInterface');
  }
  return $this->hooks;
}