Skip to main content
Home
Toggle menu
  • Home
  • Drupal Training
  • Login
  • Register

Drupal hook

Drupal7: JSON, hook_form_alter & hook_menu

Drupal7

This CodeLet demonstrates the use of hook_form_alter & hook_menu.
Using hook_form_alter, a text field is added to site information page. Once a API key is saved, the button has value 'Update configuration'
Using JSON menu, one can pull a node of type page, as JSON string.

Drupal7
Drupal hook
Copied to clipboard
Subscribe to Drupal hook
  • Home
  • Drupal Training
  • About
  • Contact

Claim your $200 hosting credit now!

sfy39587stp18