Explain coding standards in Drupal?
Submitted by: MuhammadAs per the Coding standards, omit the closing ?> tag. Including the closing tag may cause strange runtime issues on certain server setups. (Note that the examples in the handbook will show the closing tag for formatting reasons only and you should not include it in your real code.)
All functions in your module that will be used by Drupal are named {modulename}_{hook}, where "hook" is a pre-defined function name suffix. Drupal will call these functions to get specific data, so having these well-defined names means Drupal knows where to look. We will come to hooks in a while.
Submitted by: Muhammad
All functions in your module that will be used by Drupal are named {modulename}_{hook}, where "hook" is a pre-defined function name suffix. Drupal will call these functions to get specific data, so having these well-defined names means Drupal knows where to look. We will come to hooks in a while.
Submitted by: Muhammad
Read Online Drupal Job Interview Questions And Answers
Top Drupal Questions
☺ | What Is Drupal? |
☺ | How Does Drupal Compare to Other Open Source CMS Systems? |
☺ | How Does Drupal Compare to Commercial CMS Systems? |
☺ | What are System requirements for Drupal? |
☺ | Why ca not A Drupal user edit a node they created? |
Top CMS (Content Management System) Categories
☺ | WordPress Interview Questions. |
☺ | CMS Interview Questions. |
☺ | Joomla Interview Questions. |
☺ | Drupal Interview Questions. |
☺ | Moodle Interview Questions. |