You are here

public function DevelDumperManagerInterface::message in Devel 4.x

Same name and namespace in other branches
  1. 8.3 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::message()
  2. 8 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::message()
  3. 8.2 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::message()

Sets a message with a string representation of a variable.

Parameters

mixed $input: The variable to dump.

string $name: (optional) The label to output before variable, defaults to NULL.

string $type: (optional) The message's type. Defaults to 'status'.

string $plugin_id: (optional) The plugin ID, defaults to NULL.

1 method overrides DevelDumperManagerInterface::message()
DevelDumperManager::message in src/DevelDumperManager.php
Sets a message with a string representation of a variable.

File

src/DevelDumperManagerInterface.php, line 51

Class

DevelDumperManagerInterface
Interface DevelDumperManagerInterface.

Namespace

Drupal\devel

Code

public function message($input, $name = NULL, $type = 'status', $plugin_id = NULL);