Field tokens

Component type

module

Maintenance status

Development status

Downloads

13211

Component created

Component changed

The Field tokens module add two additional types of field tokens; Formatted fields and field properties.

 

Formatted field tokens

Formatted Field tokens are tokens allowing one or many field values to be rendered via the default or specified field formatter.

The format is:
[PREFIX:DELTA(S):FORMATTER:FORMATTER_SETTING_KEY-FORMATTER_SETTING_VALUE:...]

(e.g. [node:field_image-formatted:0,1:image:image_style-thumbnail]).

 

Object Oriented API

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Module for Drupal 7 to build a clean code, using Objects instead of that giants arrays. This library will cover Menus, Forms, Blocks, Permissions, Themes and others components of Drupal.

Stripe API

Component type

module

Maintenance status

Development status

Downloads

3485

Component created

Component changed

8.x-1.x

This module provides the Stripe PHP library as a service. It provides:

  • API key storage via Key.
  • A "@stripe_api.stripe_api" service that can be injected into your PHP classes

Once you've enabled the module and set your API keys, you are free to use the Stripe API library in your custom module. Simply injecting the "@stripe_api.stripe_api" into your class is sufficient to open a connection. For example: