function DevelDumperManagerInterface::export

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

Returns a string representation of a variable.

Parameters

mixed $input: The variable to dump.

string|null $name: (optional) The label to output before variable.

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

bool $load_references: If the input is an entity, load the referenced entities.

Return value

\Drupal\Component\Render\MarkupInterface|string String representation of a variable.

1 method overrides DevelDumperManagerInterface::export()
DevelDumperManager::export in src/DevelDumperManager.php
Returns a string representation of a variable.

File

src/DevelDumperManagerInterface.php, line 42

Class

DevelDumperManagerInterface
Interface for DevelDumper manager.

Namespace

Drupal\devel

Code

public function export(mixed $input, ?string $name = NULL, ?string $plugin_id = NULL, bool $load_references = FALSE) : MarkupInterface|string;