You are here

function hook_entityform_ENTITYFORM_TYPE_draft_page_alter in Entityform 7.2

Alter render array for Draft page for a specific Entityform Type.

Parameters

$render_array:

EntityformType $entityform_type:

array $args: Extra arguments to the function entityform_draft_page() function.

File

./entityform.api.php, line 98
Hooks provided by the Entityform module.

Code

function hook_entityform_ENTITYFORM_TYPE_draft_page_alter(array &$render_array, $entityform_type, array $args) {
  $render_array['new_markup'] = array(
    '#markup' => t('Hello World - draft!'),
    '#type' => 'markup',
  );
}