api

Powered by Drupal
By rprice , 20 October 2016

Entity create, read, update, and delete (CRUD) operations are performed by entity storage classes; see the Entity API topic for more information. Most entities use or extend the default classes: \Drupal\Core\Entity\Sql\SqlContentEntityStorage for content entities, and \Drupal\Core\Config\Entity\ConfigEntityStorage for configuration entities. For these entities, there is a set of hooks that is invoked for each CRUD operation, which module developers can implement to affect these operations; these hooks are actually invoked from methods on \Drupal\Core\Entity\EntityStorageBase.

By rprice , 21 July 2016

whilst traditional REST is the more popular approach for fetching data, it may not be the best in solving many of the problems of handling hierarchical data. In comes GraphQL, a database querying language built by Facebook, to solve the limitations of REST - which may include overfetching, under fetching, multiple round-trips, and versioning issues.

By rprice , 21 July 2016

whilst traditional REST is the more popular approach for fetching data, it may not be the best in solving many of the problems of handling hierarchical data. In comes GraphQL, a database querying language built by Facebook, to solve the limitations of REST - which may include overfetching, under fetching, multiple round-trips, and versioning issues.

By rprice , 5 May 2016

Entity Query API fills the gap between Drupal 8's built-in RESTful Services and Views with an easy to use, out-of-the-box means for loading, filtering and paging entities in a RESTful style. Essentially, this module provides an API to the Entity QueryInterface.

Any enabled entity gets an endpoint at /entity/{entity_type} which responds to GET requests.

You can apply conditions, sorts, and ranges to your query for the given entity type.

By rprice , 5 May 2016

Entity Query API fills the gap between Drupal 8's built-in RESTful Services and Views with an easy to use, out-of-the-box means for loading, filtering and paging entities in a RESTful style. Essentially, this module provides an API to the Entity QueryInterface.

Any enabled entity gets an endpoint at /entity/{entity_type} which responds to GET requests.

You can apply conditions, sorts, and ranges to your query for the given entity type.

By rprice , 19 August 2015

Some servers, like Firebase, Parse and CouchDB already define strict communication protocols for clients, and were good fits for Ember Data. In contrast, servers written in Rails, Node, and Django tend to be written in a "REST-style" but lack the precision necessary for drop-in client code. The REST Adapter in Ember Data implicitly defined a protocol that custom servers could implement to get a drop-in client for all of their resources.

By rprice , 19 August 2015

Some servers, like Firebase, Parse and CouchDB already define strict communication protocols for clients, and were good fits for Ember Data. In contrast, servers written in Rails, Node, and Django tend to be written in a "REST-style" but lack the precision necessary for drop-in client code. The REST Adapter in Ember Data implicitly defined a protocol that custom servers could implement to get a drop-in client for all of their resources.

By rprice , 8 September 2014

Replicate provides a main cloning function, along with several hooks to control exactly how a field is duplicated based on its type, add info after cloning, and supports custom fields and entities. It is intended to developers and does not contain any GUI (for the moment anyway). The goal is to provide a way to easily clone any entity, and to allow developers to be able to control exactly how entities are replicated, based on their type or the fields they contain, and to be able to easily extend the replication control to custom fields or entities.