jurgenhaas member since: Jul 20, 2016 · Transparency log
jurgenhaas's packages
-
drupal-eca-recipe/eca_lib_0029
Adds a role to a user on insert or update, comparing three possible approaches and showing why only one of them is reliable.
-
drupal-eca-recipe/eca_lib_0030
Creates a content entity from a JSON string, and shows why the straightforward approach does not work for user entities.
-
drupal-eca-recipe/eca_lib_0031
Reads a date value from a node field and demonstrates the tamper actions that reformat it, shift it by a fixed time range and render it in another time zone.
-
drupal-eca-recipe/eca_lib_0032
Consumes a remote API through the HTTP Client Manager module, then exposes an ECA endpoint of its own with access control and a composed response.
-
drupal-eca-recipe/eca_lib_0033
Follow up to ECA and http services, using a self-defined services API for the HTTP Client Manager. Requires the ECA TV Demo module, which supplies that services API.
-
drupal-eca-recipe/eca_lib_0034
Contrasts the Views execute query action, which returns entities, with the render Views action, which returns rendered output.
-
drupal-eca-recipe/eca_lib_0035
A variant of the insert-or-update role model that acts only on newly created users.
-
drupal-eca-recipe/eca_lib_0036
Subscribes or unsubscribes users from a Simplenews newsletter on user presave, based on the roles they hold. Requires the eca_simplenews module.
-
drupal-eca-recipe/eca_lib_0037
Provides two HTMX blocks: a digital clock that refreshes once a second, and a block that loads the content of a node when clicked.
-
drupal-eca-recipe/eca_lib_0038
Sends the article text to an AI chat model on presave and writes the structured answer into real node fields: SEO meta description, reading time, sentiment and Tags terms. Triggered by node entity presave, guarded so that each article is enriched only once. Includes the library's Article tags recipe
-
drupal-eca-recipe/eca_lib_0039
Adds an edit link to the rendered output of a node in the teaser view mode. The link points to the node's edit form and sits beside the title, not inside it. A scalar condition keeps this teaser-only, an update access check limits the link to users who may edit the node, and a user.permissions cache
-
drupal-eca-recipe/eca_lib_0040
Provides a Location content type with dependent Country, State or province, and City select fields. ECA adds Ajax handlers and populates the downstream options from a compact demonstration data set.
-
drupal-eca-recipe/eca_lib_0041
Adds two ECA-powered buttons to entity form widgets. One returns three suggested titles and offers them in a dialog, the other writes a single computed byline straight into the field. Both are deterministic and use no AI. The recipe brings in the library's Article content type, ships the Article for
-
drupal-eca-recipe/eca_lib_0042
Adds a Topic field and a Generate draft button to the Article node form. Selecting the button sends an Ajax request that fills the title and the body text in one go, without reloading the page and without saving the node. The topic is required for the button but not for saving, and the body is fille
-
drupal-eca-recipe/eca_lib_0043
Adds a Show writing tips panel to the Article node form. Selecting it fetches a fragment from an ECA endpoint over HTMX and swaps it into the panel, without submitting, validating or rebuilding the form and without changing any field. Completes the set of three form button samples: a field widget ac