class DrupalUtil (View source)

Methods

static string
drushRender(string|array|Markup $data)

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

Details

static string drushRender(string|array|Markup $data)

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

Parameters

string|array|Markup $data

Data to render.

The plain-text representation of the input.

Return Value

string