entity_api_wrapper's People
entity_api_wrapper's Issues
Create UserWrapper
Adding wrapper implementation for the Drupal user entity, which will provide getters and setters for default node properties.
Create the Code Generator
Use Module Builder.
Create testing menu callback
Adding Drupal hook menu item to provide testing menu callback at URL 'entity-wrapper-test/%', wildcard is used for id of testing content.
Documentation tasks
Collector tasks for documentation related commits.
Create NodeWrapper
Adding wrapper implementation for the Drupal node entity, which will provide getters and setters for default node properties.
Create basic/core field wrappers
- Boolean
- Decimal
- File
- Float
- Image
- Integer
- List (float)
- List (integer)
- List (text)
- Long text
- Long text and summary
- Node reference
- Term reference
- #5 Text
Create example submodule
Add more fields to the example module
The example module should demonstrate how we work with different fields. To make this more practical, we can extend and export the core Article content type with couple of fields.
- Article CT
- Text field
- Image field
- File field
- Node reference field
- Term reference field
- Export into feature
General Field class
- Label
- Machine name
- Is required
- Help text
- Cardinality
- Separate field properties from field value into another class
Text field
Parts
-
field machine name, e.g.field_text
- max length
-
label -
is required -
help text - size of textfield
- text processing
- default value
-
number if values (cardinality)
Tasks
- refactor common stuff to field base class
- unit tests
- clarify location and namespace of field classes (Cc @m1n0 )
- investigate what https://www.drupal.org/project/field_collection offers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.