Install

Works with Drupal: ^11.3 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 14.27 KB
MD5: 8f05e13663439be28dfde2b459bfda78
SHA-1: 158aac226785aa487ff02398cb6d37630132b2f0
SHA-256: ee11c41eb9655a6c8925b6b58344e4f42c9d197b063ef1d1c57f6717a228abcf
Download zip 22.73 KB
MD5: a988eddf52e9c6eeeded5d959538cdc8
SHA-1: 4e2c391d8999b6335cec742bf6ca6a4bf8322408
SHA-256: ea7db266dc205003bc654d867e89cc61b0aa02d7c121de85e0fa74d388623d32

Release notes

First release of the 2.x branch: a rewrite for Drupal 11.3+ and Drupal 12.
Views Entity Form Row provides a Views row plugin that renders each result entity as an
editable form, in a form mode of your choice.

Highlights

  • Entity types' own form classes are no longer altered; the row form is only used
    inside the view.
  • Access checking. A row is rendered as a form only when the current user
    has update access to that entity.
  • Better performance. The View is no longer loaded and built on every
    entity form on the site.
  • After saving, users return to the same page, with pager and exposed filter values
    kept.
  • Views that use a custom form mode now declare it as a config dependency.
  • Modern code: the Views row plugin uses a PHP attribute, dependencies are injected
    through constructor property promotion, and there are no procedural hooks or
    .module file.
  • Kernel and functional test coverage. GitLab CI tests the next minor and next major
    versions of Drupal core.

Upgrading from 1.x

  1. Update the code (composer require drupal/views_entity_form_row:^2.0).
  2. Run database updates (drush updb). This rebuilds the entity type
    definitions, which restores the original entity form classes.

Existing views keep working: the plugin IDs and options are unchanged.

Breaking changes

  • Requires Drupal 11.3 or later. Drupal 10 is no longer supported;
    use 1.x for it.
  • The views_entity_form_row theme hook and the
    views-entity-form-row.html.twig template have been removed, and the row now
    renders the form directly. If your theme overrides that template, use the form's own
    templates or hook_form_BASE_FORM_ID_alter() instead, for example
    hook_form_node_form_alter().
  • Users without update access to an entity no longer see a form for it.
  • The module now depends on Views instead of Node.
  • The internal classes EntityOperations, FormOperations,
    ViewsEntityFormRowInfo and ViewsEntityFormRowTrait, and the
    views_entity_form_row.info service, have been removed.
Created by: edysmp
Created on: 30 Sep 2026 at 10:23 UTC
Last updated: 30 Sep 2026 at 10:24 UTC

Other releases