function DevelDumperManager::dump

Same name in other branches
  1. 5.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::dump()

Overrides DevelDumperManagerInterface::dump

File

src/DevelDumperManager.php, line 75

Class

DevelDumperManager
Class DevelDumperManager.

Namespace

Drupal\devel

Code

public function dump($input, $name = NULL, $plugin_id = NULL) {
    if ($this->hasAccessToDevelInformation()) {
        $this->createInstance($plugin_id)
            ->dump($input, $name);
    }
}