Starter files for the dotTheory Drupal Module Development training track
- Go to the root of the repository.
- Execute this command to run the PHP web server:
php -S localhost:8888 -t web
- Your site should be accessible on http://localhost:8888
- Go to the root of the repository.
- Install Composer dependencies:
composer install
- Go to http://localhost:8888/core/install.php
- On the Choose Language screen, select English and press the Save and Continue button.
- On the Select an installation profile screen, select Standard and the press Save and Continue button.
- On the Database configuration screen, select SQLite and press the Save and Continue button.
- On the Configure site screen, fill the form anyway you want and press the Save and Continue button.
- Your Drupal site should be up and running.
- Push all the changes on your local repo.
- Create a custom module named Sandbox
- Create a form accessible on /admin/config/system/featured
- Add a field named Featured Youtube ID
- Add the link of the Form on /admin/config, under the System panel
- Create a page accessible on /featured
- Render the embedded Youtube video on the page based on the value entered on the Featured form
- Apply cache tags invalidator