![]() ![]() #1532612: Move Examples Project into Drupal core Demonstration Feel free to take one on: #1880976: Port examples to D8Īlso there is a proposal to move Examples into Drupal core for Drupal 8. There is a meta issue about converting all the examples. What examples do you need as a developer? Create an issue in the queue if you think there's a need. You can familiarize yourself with The Tao of Examples Development on these issues: Please feel free to help out in the issue queue. You are welcome to join #examples_module channel in Drupal Slack We need help figuring out how to organize this growing mass of examples better, and how to improve the doxygen output on.We need improvements in the doxygen comments.We need reviews, corrections, and improvements to existing modules.Most of all, we need you to file an issue every time you find an error or ambiguity or something that could be presented better.We are discussing the EOL for Drupal 6, and eventually Drupal 7 here: How can you help? ![]() You can find them by following this link: Non-core Drupal examples. Many other APIs exist, and have their own example code. This project covers only core Drupal APIs. You can use and modify this code in your own project under that license. You can browse the code itself in gitlab, here: Adapt The CodeĪll of the code in this project is presented under the GNU license, which is the case for all code on. This gives you the benefit of clickable links between the various functions and classes. You can also browse the documentation generated from this project on. They all add menu items leading you to a page on your site that will tell you what they are doing. You can enable these modules just like any others. Other supported branches are 9.x-1.x (core 8.9 and 9.0) and 8.x-1.x (pre 8.9) How To Use These Modules As Modules Which branch?Ĭurrent development goes in 3.x branch, that is aimed to work with core version 9.1+ Be sure and explore other contributed modules to see if you can find one that meets your needs. There are many contributed modules which will do the majority of what a Drupal site-builder could need. Not all Drupal users will need these examples. Note also that these modules demonstrate internals for Drupal development in PHP (and some JavaScript). You can then look through the code to see what they are doing.ĭevelopers can learn how to use a particular API quickly by experimenting with the examples, and adapt them for their own use. These modules can be enabled individually, and will typically add menu items to your site, which should guide you through their features. The Examples project contains many modules which hopefully illustrate best practices for implementing various Drupal APIs. The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.ĭo not enable this module in production environment! Follow the Examples project on Twitter: Examples For Developers ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |