class SlickFieldCollectionFormatter in Slick Carousel 7.3
Plugin implementation of the 'Slick File' formatter for Media integration.
Hierarchy
- class \Drupal\blazy\Plugin\Field\FieldFormatter\FormatterBase implements FormatterInterface
- class \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyFormatterBase
- class \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyEntityBase
- class \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyEntityReferenceBase
- class \Drupal\slick\Plugin\Field\FieldFormatter\SlickEntityReferenceFormatterBase uses SlickFormatterTrait
- class \Drupal\slick\Plugin\Field\FieldFormatter\SlickFieldCollectionFormatter uses BlazyVideoTrait
- class \Drupal\slick\Plugin\Field\FieldFormatter\SlickEntityReferenceFormatterBase uses SlickFormatterTrait
- class \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyEntityReferenceBase
- class \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyEntityBase
- class \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyFormatterBase
Expanded class hierarchy of SlickFieldCollectionFormatter
File
- src/
Plugin/ Field/ FieldFormatter/ SlickFieldCollectionFormatter.php, line 10
Namespace
Drupal\slick\Plugin\Field\FieldFormatterView source
class SlickFieldCollectionFormatter extends SlickEntityReferenceFormatterBase {
use BlazyVideoTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BlazyEntityBase:: |
protected | property | The blazy entity instance. | |
BlazyEntityBase:: |
public | function | Returns the blazy entity object. | |
BlazyEntityBase:: |
public | function | Returns media contents. | |
BlazyEntityBase:: |
protected | function |
Converts $items array to object for easy D8 -> D7 backports. Overrides BlazyFormatterBase:: |
|
BlazyEntityReferenceBase:: |
protected | property | The link options. | |
BlazyEntityReferenceBase:: |
protected | property | The string options. | |
BlazyEntityReferenceBase:: |
protected | property | The text options. | |
BlazyEntityReferenceBase:: |
public | function |
Build individual item contents. Overrides BlazyEntityBase:: |
|
BlazyEntityReferenceBase:: |
public | function |
Builds the settings. Overrides FormatterBase:: |
|
BlazyEntityReferenceBase:: |
public | function | Builds slide captions with possible multi-value fields. | |
BlazyEntityReferenceBase:: |
public | function |
Returns required form elements for the current formatter. Overrides BlazyFormatterBase:: |
|
BlazyEntityReferenceBase:: |
public | function |
Implements hook_field_formatter_settings_form(). Overrides BlazyEntityBase:: |
|
BlazyFormatterTrait:: |
protected | property | The blazy-related formatter service. | |
BlazyFormatterTrait:: |
protected | property | The blazy field formatter manager. | |
BlazyFormatterTrait:: |
public | function | Returns the blazy-related formatter. | |
BlazyFormatterTrait:: |
public | function | Returns the blazy service. | |
BlazyFormatterTrait:: |
public | function | ||
BlazyVideoTrait:: |
public | function | Returns video embed URL with an autoplay parameter. | |
BlazyVideoTrait:: |
public | function | Returns the host for scheme. | |
BlazyVideoTrait:: |
public | function | Gets the faked image item out of file entity, or ER, if applicable. | |
BlazyVideoTrait:: |
public | function | Gets the Media item thumbnail, or re-associate the file entity to ME. | |
BlazyVideoTrait:: |
public | function | Returns Youtube/ Vimeo video embed suitable for non-file-entity. | |
BlazyVideoTrait:: |
public | function | Returns Youtube/ Vimeo video ID from URL, thanks to Kus from s.o. | |
BlazyVideoTrait:: |
public | function | Returns video thumbnail based on video id, needed by BlazyFilter. | |
FormatterBase:: |
protected | property | The blazy-related admin formatter service. | |
FormatterBase:: |
protected | property | Whether default settings have been merged into the current $settings. | |
FormatterBase:: |
protected | property | The field definition. | |
FormatterBase:: |
protected | property | The field display. | |
FormatterBase:: |
protected | property | The field instance. | |
FormatterBase:: |
protected | property | The form settings. | |
FormatterBase:: |
protected | property | True if the field cardinality equals -1. | |
FormatterBase:: |
protected | property | The known hard-coded entities. | |
FormatterBase:: |
protected | property | The langcode. | |
FormatterBase:: |
protected | property | The blazy formatter plugin id. | |
FormatterBase:: |
protected | property | The formatter settings. | |
FormatterBase:: |
protected | property | The view mode. | |
FormatterBase:: |
public | function | Implements hook_field_formatter_settings_form(). | |
FormatterBase:: |
public | function | ||
FormatterBase:: |
public | function | Gets html settings. | |
FormatterBase:: |
public | function | Gets formatter plugin id. | |
FormatterBase:: |
public | function | ||
FormatterBase:: |
public | function | Gets formatter settings. | |
FormatterBase:: |
protected | function | Merges default settings values into $settings. | |
FormatterBase:: |
public | function | Sets html settings. | |
FormatterBase:: |
public | function | ||
FormatterBase:: |
public | function | Sets formatter settings. | |
FormatterBase:: |
protected | function | Setup common variables across different hooks. | |
FormatterBase:: |
public | function | Implements hook_field_formatter_view(). | |
SlickEntityReferenceFormatterBase:: |
public static | function |
Returns default settings. Overrides BlazyEntityReferenceBase:: |
|
SlickEntityReferenceFormatterBase:: |
public | function |
Defines the scope for the form elements. Overrides BlazyEntityReferenceBase:: |
|
SlickEntityReferenceFormatterBase:: |
public | function |
Constructs a SlickEntityReferenceFormatter instance. Overrides FormatterBase:: |
|
SlickFormatterTrait:: |
public | function | Returns the slick admin service. | |
SlickFormatterTrait:: |
public | function | 1 |