Problem/Motivation

When saving an ECK entity form, no feedback is given. Most entity types show a status message and/or log a notice when an entity is created or updated (eg. node, media, block, taxonomy). ECK doesn't do this in the D8 version of the module.

Steps to reproduce

Save an ECK entity form.

Proposed resolution

Show a status message and log a notice when creating/updating an ECK entity.

Issue fork eck-3207755

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DieterHolvoet created an issue. See original summary.

DieterHolvoet’s picture

Title: Log a notice and add a status message when creating/updating entitite » Log a notice and add a status message when creating/updating entities

DieterHolvoet’s picture

Status: Active » Needs review

In my implementation, I also considered the fact that some ECK entities may have an empty label because they don't have a title field.

Matroskeen made their first commit to this issue’s fork.

Matroskeen’s picture

Status: Needs review » Fixed

It's looking great to me!
Hopefully, you don't mind some tiny refactoring I did before commit 😉

Committed to 8.x-1.x.
Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.