class DrupalUtil (View source)

Methods

static string
drushRender(string|array $data)

Output a Drupal render array, object or string as plain text.

Details

static string drushRender(string|array $data)

Output a Drupal render array, object or string as plain text.

Parameters

string|array $data Data to render.

Return Value

string The plain-text representation of the input.