The Drop Times: Upcoming Interview With Meilissa and April Sides

Planet Drupal - Mon, 2023/02/20 - 12:56pm
The upcoming interview will feature Senior Software Engineers April Sides and Melissa Bent from Red Hat.
Categories:

Axelerant Blog: How To Check PDFs For Accessibility

Planet Drupal - Mon, 2023/02/20 - 6:00am
Introduction

PDFs that are not adequately formatted can be difficult or even impossible for people with impairments to access. This can result in the loss of critical information and limit the document's usefulness.

Categories:

#! code: Drupal 10: Creating Context Aware Plugins

Planet Drupal - Sun, 2023/02/19 - 8:00pm

In previous articles I have written about injecting context into context aware plugins and creating custom context providers and wanted to complete the series by writing about creating context aware custom plugins.

The context system in Drupal is a powerful way of injecting dynamic data into plugins without writing code to add that data directly to the plugin itself. Instead of adding custom code to find the current user or the node from the route of the page you can inject the context into the plugin using the context system and add code to make use of that data. Although most commonly used in blocks it can be found in a couple of other plugin types in Drupal core, like the condition plugin for example.

In this article I will go through how to create a context aware plugin, including how to create custom plugins and how to allow that plugin to understand the context_definitions annotation. Once the custom plugin is complete we will render it using a Drupal controller action to prove that the context works correctly.

Let's start by creating a custom plugin, we'll call this plugin ContextThing and it will be used to print out the context passed to it. The first step in creating custom plugins is to create an Annotation class.

Plugin Annotation Class

Annotations are special kinds of comments that have a number of functions in Drupal, but in this case we are using them to inform Drupal that a particular class is plugin.

As an example of annotations in action we can look at defining custom Blocks. To define a block plugin you would start the class annotation with @Block and then add the fields you need to the annotation definition. This would look something like this.

Read more

Categories:

clemens-tolboom commented on issue Zireael07/FreeRoamRoguelikeRacerPrototype#8

On github - Sat, 2023/02/18 - 9:05am
clemens-tolboom commented on Zireael07/FreeRoamRoguelikeRacerPrototype#8 · Feb 18, 2023 clemens-tolboom commented Feb 18, 2023

Cleanup .tres find game/*/ -name "*.tres" -exec git checkout -- {} \; From the remaining untracked I guess racedriver2_ is from v3.x git clean -fd…

clemens-tolboom commented on issue Zireael07/FreeRoamRoguelikeRacerPrototype#8

On github - Sat, 2023/02/18 - 8:55am
clemens-tolboom commented on Zireael07/FreeRoamRoguelikeRacerPrototype#8 · Feb 18, 2023 clemens-tolboom commented Feb 18, 2023

Using find game/*/ -name "*.import" -exec git checkout -- {} \; left git status On branch 4.x Your branch is up to date with 'origin/4.x'. Changes …

The Drop Times: Drupal Camp Florida 2023 is Here!

Planet Drupal - Sat, 2023/02/18 - 8:41am
The 15th annual Florida DrupalCamp 2023 is here! Florida DrupalCamp is an annual conference that brings web professionals worldwide to learn, network, and talk about web development and Drupal. Florida DrupalCamp is called a “camp” to emphasize the unconference style of the event.
Categories:

clemens-tolboom opened an issue in Zireael07/FreeRoamRoguelikeRacerPrototype

On github - Fri, 2023/02/17 - 9:48pm
clemens-tolboom opened an issue in Zireael07/FreeRoamRoguelikeRacerPrototype · Feb 17, 2023 git status contains zillions changes #8

Looks like lots of files are reimported. Do you have similar git status results? I thought we could ignore all .import but #7 ignore example shows …

clemens-tolboom closed a pull request in Zireael07/FreeRoamRoguelikeRacerPrototype

On github - Fri, 2023/02/17 - 9:39pm
clemens-tolboom closed Zireael07/FreeRoamRoguelikeRacerPrototype#6 · Feb 17, 2023 Move current gitignore into game dir #6

The godot specific .gitignore can be placed into game/ dir. See https://github.com/github/gitignore/blob/main/Godot.gitignore for current advised c…

+17,646 -19,825 1 comment

clemens-tolboom opened a pull request in Zireael07/FreeRoamRoguelikeRacerPrototype

On github - Fri, 2023/02/17 - 9:38pm
clemens-tolboom opened Zireael07/FreeRoamRoguelikeRacerPrototype#6 · Feb 17, 2023 Move current gitignore into game dir #6

The godot specific .gitignore can be placed into game/ dir. See https://github.com/github/gitignore/blob/main/Godot.gitignore for current advised c…

+17,646 -19,825

Axelerant Blog: Native Vs. Commercial Automated Solutions For Accessibility Testing

Planet Drupal - Fri, 2023/02/17 - 8:07pm
Introduction

There are a plethora of mobile app accessibility automation tools available. But not every tool is infallible when testing for mobile accessibility. This raises several questions:

Categories: