Skip to content
Snippets Groups Projects
Unverified Commit c304842b authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2707163 by quietone, chishah92, jhodgdon, AndrewHD, xjm, dww,...

Issue #2707163 by quietone, chishah92, jhodgdon, AndrewHD, xjm, dww, jdelvillar01, alexpott: core/USAGE.TXT -- API section talks only about hooks and functions
parent 926b4849
No related branches found
No related tags found
No related merge requests found
...@@ -68,12 +68,9 @@ DEVELOPING FOR DRUPAL ...@@ -68,12 +68,9 @@ DEVELOPING FOR DRUPAL
--------------------- ---------------------
Drupal contains an extensive API that allows you to add to and modify the Drupal contains an extensive API that allows you to add to and modify the
functionality of your site. The API consists of "hooks", which allow modules to functionality of your site. This means that you should never need to directly
react to system events and customize Drupal's behavior, and functions that modify the files that come with Drupal core to achieve the behavior you want;
standardize common operations such as database queries and form generation. The instead, modifications take the form of modules.
flexible hook architecture means that you should never need to directly modify
the files that come with Drupal core to achieve the functionality you want;
instead, functionality modifications take the form of modules.
When you need new functionality for your Drupal site, search for existing When you need new functionality for your Drupal site, search for existing
contributed modules. If you find a module that matches except for a bug or an contributed modules. If you find a module that matches except for a bug or an
...@@ -82,6 +79,8 @@ back to the project in the form of a "patch". Create new custom modules only ...@@ -82,6 +79,8 @@ back to the project in the form of a "patch". Create new custom modules only
when nothing existing comes close to what you need. when nothing existing comes close to what you need.
More about developing: More about developing:
* Extending and altering Drupal
https://api.drupal.org/api/drupal/core%21core.api.php/group/extending
* Search for existing contributed modules: * Search for existing contributed modules:
https://www.drupal.org/project/project_module https://www.drupal.org/project/project_module
* Contribute a patch: * Contribute a patch:
...@@ -91,6 +90,6 @@ More about developing: ...@@ -91,6 +90,6 @@ More about developing:
* Follow programming best practices: * Follow programming best practices:
https://www.drupal.org/docs/develop/standards https://www.drupal.org/docs/develop/standards
* Refer to the API documentation: * Refer to the API documentation:
https://api.drupal.org/api/drupal/9 https://api.drupal.org
* Learn from documented Drupal API examples: * Learn from documented Drupal API examples:
https://www.drupal.org/project/examples https://www.drupal.org/project/examples
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment