Active
Project:
Linkit
Version:
7.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Sep 2026 at 15:38 UTC
Updated:
28 Sep 2026 at 17:17 UTC
Jump to comment: Most recent
When autocomplete is configured to show unpublished entities and searching for an entity-type that does not have the key 'status' in the entity definition, like a drupal group, the unpublished entity is not displayed with the 'unpublished' CSS class, so it appears in the autocomplete visually the same as a published entity.
Add the following lines to EntityMatcher::buildStatus()
if ($entity instanceof EntityPublishedInterface) {
return $entity->isPublished() ? 'published' : 'unpublished';
}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:
Comments