james-nesbitt / sapi Goto Github PK
View Code? Open in Web Editor NEWAn attempt at a rewrite of the Drupal SAPI module
An attempt at a rewrite of the Drupal SAPI module
The modules/sapi_entity_interaction/config/install yml contains demo block and views definitions, that should be optional.
These files could be moved from config/install to config/optional.
We can use use the admin settings form "admin/config/sapi/statistics-plugins" to enable and disable plugins. The Dispatcher should respect those choices.
Probably the disapatcher could just check the config values saved in the form before create them.
While you can edit the fields for a data item bundle, by selecting the "edit fields" operation, those options do not appear as tabs when editing the item.
To declare which external data structures are required for ActionType
plugins to work properly, it may be beneficial to add implementation of ContextAwarePluginInterface
to said plugins. It will allow define data structure dependencies in plugin annotation. Example:
@ActionType(
// ...
context = {
"node" = @ContextDefinition("entity:node", label = @Translation("Node"), required = FALSE)
}
)
See how UserRole
class does it.
See ContextAwarePluginInterface.php
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.