Sr. Drupal Developer Code Exercises is brought to you by your friends at Last Call Media, these exercises are designed to assess your Drupal knowledge and see how you solve problems. Please don't spend more than three hours on it, and if you have trouble completing it in that time don't stress about it - we don't expect it all to be completed. Work in progress code is totally fine, as long as the direction can be explained during the interview. If you'd prefer to spend all the time on only one of the exercises and flesh it out more, that is also fine.
Note: The exercises are designed in the form of client requests, but in reality we would never expect requests of these types to be completed in the allotted three hours for this exercise :-)
- Read the exercises below
- Clone the repository locally and perform the exercises.
- Use the setup instructions below to run the site. Or, if you prefer you can use your own infrastructure.
- Push your work up in a new, private repository in your own GitHub account.
- Give the user
lastcall-automation
read access to your repository
- If you don't have it already, install Lando
- Navigate to the project on the command line and run
lando start
- Install php dependencies (
lando composer install
)- After this, there should be a functioning Drupal 9 site available at
https://code.lndo.site
with no database
- After this, there should be a functioning Drupal 9 site available at
- Import the database, so sample users and content are available
- Run
lando db-import exercise.sql.gz
from the project root
- Run
- You can interact with the site using the
lando
cli tool.- ex:
lando drush uli
- ex:
note: A sample administrative user has been added to the database already:
- username:
root
- password:
root
This project contains two custom modules, each housing a README that contains the instructions for each exercise.