Search by

drupal-eca-recipe/article_content_type dependents (13) Order by: name | downloads Show: all | require | require-dev

  • drupal-eca-recipe/article_tags

    Provides tags on Article content. Includes the Article content type recipe and core's Tags taxonomy recipe.

    Latest version requires drupal-eca-recipe/article_content_type *

  • drupal-eca-recipe/eca_lib_0001

    Prints a message when an article node page is requested, using the controller event so that it still fires for cached pages.

    Latest version requires drupal-eca-recipe/article_content_type *

  • drupal-eca-recipe/eca_lib_0003

    Redirects a request for an unpublished article node to the contact form when the visitor does not hold the core permission for viewing their own unpublished content.

    Latest version requires drupal-eca-recipe/article_content_type *

  • drupal-eca-recipe/eca_lib_0004

    Demonstrates how to express an if/elseif/else decision in an ECA model, the pattern people usually reach for when they want a PHP switch statement. ECA has neither a switch construct nor a working exclusive gateway, so the model uses the sentinel-default idiom instead: it assigns the default value u

    Latest version requires drupal-eca-recipe/article_content_type *

  • drupal-eca-recipe/eca_lib_0009

    Groups the title and body fields on the article form and blocks publishing while the body is still empty.

    Latest version requires drupal-eca-recipe/article_content_type *

  • drupal-eca-recipe/eca_lib_0020

    Creates an article node whenever a page node is created, building the new title from the page author's name and the page title.

    Latest version requires drupal-eca-recipe/article_content_type *

  • drupal-eca-recipe/eca_lib_0028

    Reads form field values during validation and submission, showing how to find the right token syntax for each field type and how building a temporary entity offers a clearer alternative.

    Latest version requires drupal-eca-recipe/article_content_type *

  • 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.

    Latest version requires drupal-eca-recipe/article_content_type *

  • 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

    Latest version requires drupal-eca-recipe/article_content_type *

  • 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

    Latest version requires drupal-eca-recipe/article_content_type *

  • 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

    Latest version requires drupal-eca-recipe/article_content_type *

  • drupal-eca-recipe/eca_lib_0044

    Published Article nodes cannot be deleted until they are unpublished. The model answers the entity access question with 'forbidden' instead of hiding buttons, so the Delete tab, the operations link and the form's Delete button all disappear together and the delete route returns 403.

    Latest version requires drupal-eca-recipe/article_content_type *

  • drupal-eca-recipe/eca_lib_0045

    Separates two questions that are routinely conflated: whether a field changed, and what its previous value was. The condition Entity: field value changed answers the first on its own, with no original entity, no token and no loop. Only the message text needs the old title, so the model additionally

    Latest version requires drupal-eca-recipe/article_content_type *