Skip to content

[console] Is lack of Views support a console issue or Drupal core issue? #3780

@liquidcms

Description

@liquidcms

Problem/Motivation

I am building a new contrib module which has some custom entities. I used console to put the start of this together. The entities seem to work fine, i have written 100s of lines of code for the functionality of my module using these entities and i am close to being finished. From initial console build i see that i automatically get pages to manage my entities, manage fields, etc.. very cool.

I see 2 major issues though:

  1. manage entities page (maybe called my collection page) has no VBO sort of functionality (i.e. bulk delete or edit)
  2. if i go to create a View, even though Views knows about my new entity it knows nothing about the entity: title, id, fields, author, etc

My questions are not so much how to fix this.. but wondering where the disjoint is? Perhaps #1 is something Console could have added in? But, for #2 it seems like a core bug. Would Views not automatically know about fields in a custom entity? Or is this something that Console maybe should have added to the entity?

How to reproduce

Use console to make a custom entity.

Details to include:

  • Drupal version: 8.4.3
  • Console version: 1.5.0
  • Console Launcher version: 1.5.0 (doesnt run outside of Drupal install)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions