How will you add custom php codes in drupal pages or blocks?
Answer Posted / Sitesh Kumar
To add custom PHP code in Drupal, you can create a custom module and use the hook_block_view() or hook_page_build() to alter existing blocks or pages. Alternatively, you can use PHP files in custom themes' templates directory to include PHP code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers