Skip to content

Instantly share code, notes, and snippets.

View ranqiangjun's full-sized avatar
🏠
Working from home

Qiangjun Ran ranqiangjun

🏠
Working from home
View GitHub Profile
RUN export http_proxy=http://10.0.2.2:1087;export https_proxy=http://10.0.2.2:1087;
@ranqiangjun
ranqiangjun / gist:d44ccb8a05d14560725298c1f9670877
Created April 7, 2019 15:29
Two modules you might miss which were apart of devel
drupal/devel_entity_updates
drupal/devel_php
[
{
"user": "easyrdf",
"repository": "easyrdf",
"version": "0.9.0"
}
]
@ranqiangjun
ranqiangjun / extension-patterns.md
Created January 14, 2023 16:59 — forked from bojanz/extension-patterns.md
Extension patterns: events, tagged services, plugins

This documentation is destined for drupal.org. Created first as a gist to make initial comments easier. Rewrites and clarifications welcome. Code samples are simplified for clarity. Perhaps a bit too much?

When talking about extensibility, there are several distinct use cases:

  1. Reacting to an action that has already happened.

The reaction can be anything; outputting a message, sending an email, modifying a related object, etc. Examples:

  • "A node has been saved"
  • "A product has been added to the cart".
[AutoProxy 0.2.9]
! Checksum: K7ep+i8tdQQqzMWnUK97sQ
! Expires: 6h
! Title: GFWList4LL
! GFWList with EVERYTHING included
! Last Modified: Sun, 12 May 2024 23:19:25 -0400
!
! HomePage: https://github.com/gfwlist/gfwlist
! License: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
!