function DevelDumperManager::export

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

Overrides DevelDumperManagerInterface::export

1 call to DevelDumperManager::export()
DevelDumperManager::message in src/DevelDumperManager.php
Sets a message with a string representation of a variable.

File

src/DevelDumperManager.php, line 84

Class

DevelDumperManager
Class DevelDumperManager.

Namespace

Drupal\devel

Code

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