You are here

public function ThrobberManager::loadThrobberInstance in Ajax loader 8

Loads an instance of a plugin by given plugin id.

Parameters

string $plugin_id: String with plugin id.

Return value

object Return object with Throbber.

Overrides ThrobberManagerInterface::loadThrobberInstance

File

src/ThrobberManager.php, line 52

Class

ThrobberManager
Gathers the throbber plugins.

Namespace

Drupal\ajax_loader

Code

public function loadThrobberInstance($plugin_id) {
  return $this
    ->createInstance($plugin_id);
}