Jaesin / content_entity_base

The goal of this project is the minimize the requirements to create a fully capable content entity for drupal.
8 stars 10 forks source link

Add drupal console support #6

Open Jaesin opened 9 years ago

Jaesin commented 9 years ago

Add a drupal console "create" command that creates a custom entity that leverages CEB.

yannickoo commented 9 years ago

:+1:

heddn commented 8 years ago

:+1:

heddn commented 8 years ago

Cross-linking: https://github.com/hechoendrupal/DrupalConsole/pull/1261

Jaesin commented 8 years ago

It's great that drupal console can produce bundle-able entities now. Unfortunately, it doesn't support revisions out of the box.

Jaesin commented 8 years ago

I created the console-ceb branch. I put the console command in a separate sub-module so separate concerns.

What's left:

  1. Create the template files that reference CEB classes.
  2. Modify \Drupal\console_ceb\Generator\EntityContentBaseGenerator::generate() to use the CEB templates.
  3. Verify that all required templates are present.
  4. Figure out the translation file so console list returns the correct description.