Commanding Chaos for Coworking, Open Source and Creative Communities

entity

Entity validator | Drupal.org

Thu, 12/04/2014 - 07:49 -- rprice

One of your modules can create a node object without any title or a language and you don't want that. Similar to the Restful module that handle each field in a separate method(s) you can define a plugin and set methods to validate the object you'r dealing with. For more examples you can the Entity validate example module and look on the test and how to interact with the API of the module.

drupaleasypodcast
drupal7
entity

Convert menu links into entities | drupal.org

Mon, 10/15/2012 - 08:05 -- rprice

Everyone agrees menu links should be entities. Jury is out on Menus => Let us do menu links to start with and that will inform subsequent thought. We can, nevertheless, say that the original idea of menus as bundles of menu links is off the table.

I believe as fago is currently using the terms:
Property: A compound data element on an Entity (basically what we call "Fields" in Drupal 7).
Field: A special case of a Property that is user-added rather than defined by the module that declares the Entity type.

entity
menu
drupaleasypodcast
drupal8

Convert menu links into entities | drupal.org

Mon, 10/15/2012 - 08:05 -- rprice

Everyone agrees menu links should be entities. Jury is out on Menus => Let us do menu links to start with and that will inform subsequent thought. We can, nevertheless, say that the original idea of menus as bundles of menu links is off the table.

I believe as fago is currently using the terms:
Property: A compound data element on an Entity (basically what we call "Fields" in Drupal 7).
Field: A special case of a Property that is user-added rather than defined by the module that declares the Entity type.

entity
menu
drupaleasypodcast
drupal8

Entity Path | drupal.org

Thu, 06/14/2012 - 05:36 -- rprice

This module provides a user interface to change the internal path/URI of entities. This is done by replacing path patterns with token values of the given entity.

The module originally was a proof of concept for Taxonomy Redirect and named "Taxonomy Path" in sandbox mode. The original idea was from the Taxonomy Redirect D7 Port Issue. As we now deal with Entities in Drupal 7 all over the place, the concept could get generalized and now should work for any entity properly implementing the API function entity_uri() for its path.

entity
url
taxonomy
modules
drupaleasypodcast

Pages

Subscribe to RSS - entity