oliverdavies.uk/source/_pages/atdc.md
Oliver Davies fc3e30eddd Load testimonials by tag instead of by name
- Allow loading testimonials by tag instead of name.
- Remove the code to load testimonials by name.
- Add a `limit` and `offset` to create different lists on the same page
  - e.g. on the team coaching page where I have two testimonial
  sections.
2024-01-15 17:58:22 +00:00

826 B

title
Introduction to Automated Testing in Drupal email course

{% block content %}

Do you want to learn how to write automated tests and do test-driven development in Drupal?

Register below for my free 7-day email course, where you'll learn to write a new Drupal module from scratch with automated tests.

Learn to test things like:

  • Whether pages exist.
  • Whether users can view specific pages based on their permissions.
  • Whether certain content is visible on a page given particular circumstances.
  • Refactoring code to test dedicated classes such as Repositories, Actions and Services.

{% include 'email-course-form.html.twig' %} {% endblock %}

{% block content_bottom %}

{% include 'testimonials' with { tag: 'subscription' } %}
{{ parent() }}
{% endblock %}