function DevelDumperManagerInterface::message

Same name in other branches
  1. 8.x-1.x src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::message()
  2. 4.x 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: The label to output before variable.

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

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

bool $load_references: (optional) If the input is an entity, load the referenced entities. Defaults to FALSE.

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 60

Class

DevelDumperManagerInterface
Interface for DevelDumper manager.

Namespace

Drupal\devel

Code

public function message(mixed $input, $name = NULL, $type = MessengerInterface::TYPE_STATUS, $plugin_id = NULL, $load_references = FALSE);