Drupal 8  8.0.2
ImageFormatterBase Class Reference
Inheritance diagram for ImageFormatterBase:

Protected Member Functions

 getEntitiesToView (EntityReferenceFieldItemListInterface $items, $langcode)
 
- Protected Member Functions inherited from FileFormatterBase
 needsEntityLoad (EntityReferenceItem $item)
 
 checkAccess (EntityInterface $entity)
 
- Protected Member Functions inherited from EntityReferenceFormatterBase
 getEntitiesToView (EntityReferenceFieldItemListInterface $items, $langcode)
 
 needsEntityLoad (EntityReferenceItem $item)
 
 checkAccess (EntityInterface $entity)
 
- Protected Member Functions inherited from FormatterBase
 getFieldSettings ()
 
 getFieldSetting ($setting_name)
 
- Protected Member Functions inherited from PluginSettingsBase
 mergeDefaults ()
 

Additional Inherited Members

- Public Member Functions inherited from EntityReferenceFormatterBase
 view (FieldItemListInterface $items, $langcode=NULL)
 
 prepareView (array $entities_items)
 
- Public Member Functions inherited from FormatterBase
 __construct ($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings)
 
 view (FieldItemListInterface $items, $langcode=NULL)
 
 settingsForm (array $form, FormStateInterface $form_state)
 
 settingsSummary ()
 
 prepareView (array $entities_items)
 
- Public Member Functions inherited from PluginSettingsBase
 getSettings ()
 
 getSetting ($key)
 
 setSettings (array $settings)
 
 setSetting ($key, $value)
 
 getThirdPartySettings ($module=NULL)
 
 getThirdPartySetting ($module, $key, $default=NULL)
 
 setThirdPartySetting ($module, $key, $value)
 
 unsetThirdPartySetting ($module, $key)
 
 getThirdPartyProviders ()
 
 calculateDependencies ()
 
 onDependencyRemoval (array $dependencies)
 
- Public Member Functions inherited from PluginInspectionInterface
 getPluginId ()
 
 getPluginDefinition ()
 
- Public Member Functions inherited from FormatterInterface
 viewElements (FieldItemListInterface $items, $langcode)
 
- Static Public Member Functions inherited from FormatterBase
static isApplicable (FieldDefinitionInterface $field_definition)
 
- Static Public Member Functions inherited from PluginSettingsBase
static defaultSettings ()
 
- Protected Attributes inherited from FormatterBase
 $fieldDefinition
 
 $settings
 
 $label
 
 $viewMode
 
- Protected Attributes inherited from PluginSettingsBase
 $settings = array()
 
 $thirdPartySettings = array()
 
 $defaultSettingsMerged = FALSE
 

Detailed Description

Base class for image file formatters.

Member Function Documentation

getEntitiesToView ( EntityReferenceFieldItemListInterface  $items,
  $langcode 
)
protected

{}

References Drupal\entityManager(), FormatterBase\getFieldSetting(), ListInterface\isEmpty(), and TypedDataInterface\setValue().

Referenced by ImageFormatter\viewElements(), and ResponsiveImageFormatter\viewElements().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: