[ 'method' => 'GET', 'action' => $data['_BASE_PATH_'] . '/admin/shaare', 'name' => 'addform', 'class' => 'addform', ], 'inputs' => [ [ 'type' => 'text', 'name' => 'post', 'placeholder' => t('URI'), ], [ 'type' => 'submit', 'value' => t('Add link'), 'class' => 'bigbutton', ], ], ]; $data['fields_toolbar'][] = $form; } return $data; } /** * This function is never called, but contains translation calls for GNU gettext extraction. */ function addlink_toolbar_dummy_translation() { // meta t('Adds the addlink input on the linklist page.'); }