diff --git a/2024-nedcamp-when-not-a-module-make-and-maintain.md b/2024-nedcamp-when-not-a-module-make-and-maintain.md index 8444cb9..6425b1f 100644 --- a/2024-nedcamp-when-not-a-module-make-and-maintain.md +++ b/2024-nedcamp-when-not-a-module-make-and-maintain.md @@ -1,16 +1,30 @@ -### The Agaric Technology Collective +New England Drupal Camp @ Rhode Island College +Providence, RI +November 16, 2024 +#NEDCamp2024 +9am, Gaige Hall 201 + +#### When There's Not a Module for That: How to Make (and Maintain) a New Module + +benjamin "mlncn" melançon +ben@agaric.coop + +--- + +### Agaric Technology Collective ![The Agaric logo, a blue outline mushroom.](content/images/agaric-icon.png) presents -Note: test note +Note: my name's ben, i have been a worker and owner at the worker-owned Agaric cooperative since 2006. --- -When There's Not a Module for That: How to Make (and Maintain) a New Module +## When There's Not a Module for That: +### How to Make (and Maintain) a New Module ----- +--- ### Be a part of something bigger (but not as big as all of Drupal) @@ -51,6 +65,13 @@ And friends including Facets and Better Exposed Filters Note: If you decide your module should have one of those button links you see at the top right of a bunch of pages in Drupal's administration, you *don't even need to know* that they are called "Action Links" and find a tutorial on making them. You can just go look in the code of a module you know has them, grep for the label, and steal the code around it. +---- + + +![grep -nHIRs "Add content block" web/core/ with a half-dozen results, including web/core/modules/block_content/block_content.links.action.yml:9 and a bunch of results in tests.](images/add-content-block-action-link.png) + +Note: Grep. Even when i am fully using an IDE for everything else, i grep in the regular command line when looking for text in a file. This habit is probably fueled more by failing to tell the IDE to index Drupal core and contrib modules more than anything else. + --- To be continued… diff --git a/images/add-content-block-action-link.png b/images/add-content-block-action-link.png new file mode 100644 index 0000000..3a9caf7 Binary files /dev/null and b/images/add-content-block-action-link.png differ diff --git a/images/grep-add-content-block-action-link.png b/images/grep-add-content-block-action-link.png new file mode 100644 index 0000000..eab8675 Binary files /dev/null and b/images/grep-add-content-block-action-link.png differ