I am trying to do something that seems simple, but I have yet to have to do it with my development because I have always dealt with forms and views.
On the page that I get redirected to when I click on a menu item, I want to have a page with a href on it.
So for example, I have created a menu item as follows:
$items['admin/vendor/auth-stripe'] = array( 'title' => 'Authenticate Stripe Account', 'description' => 'In order to receive payments, you must authenticate your Stripe Account.', //'page callback' => '_bh_vendor_auth_stripe', 'access arguments' => array('vendor administration'), 'type' => MENU_NORMAL_ITEM, );
When I click on this menu item, I am taken to a page. I want to add items to this page. Namely an href link.
Do I need to create a block that only shows up on this page? If so, how do I add a link on the page. I know how to create a block programmatically using
hook_block_info, but I am not exactly clear on putting content in this block programmatically.