Drupal 8  8.0.2
FileFieldItemList Class Reference
Inheritance diagram for FileFieldItemList:

Public Member Functions

 defaultValuesForm (array &$form, FormStateInterface $form_state)
 
 delete ()
 
 deleteRevision ()
 
- Public Member Functions inherited from EntityReferenceFieldItemList
 getConstraints ()
 
 referencedEntities ()
 
 defaultValuesFormSubmit (array $element, array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from FieldItemList
 getEntity ()
 
 setLangcode ($langcode)
 
 getLangcode ()
 
 getFieldDefinition ()
 
 getSettings ()
 
 getSetting ($setting_name)
 
 filterEmptyItems ()
 
 getValue ($include_computed=FALSE)
 
 setValue ($values, $notify=TRUE)
 
 __get ($property_name)
 
 __set ($property_name, $value)
 
 __isset ($property_name)
 
 __unset ($property_name)
 
 access ($operation= 'view', AccountInterface $account=NULL, $return_as_object=FALSE)
 
 defaultAccess ($operation= 'view', AccountInterface $account=NULL)
 
 applyDefaultValue ($notify=TRUE)
 
 preSave ()
 
 postSave ($update)
 
 delete ()
 
 deleteRevision ()
 
 view ($display_options=array())
 
 generateSampleItems ($count=1)
 
 getConstraints ()
 
 defaultValuesForm (array &$form, FormStateInterface $form_state)
 
 defaultValuesFormValidate (array $element, array &$form, FormStateInterface $form_state)
 
 defaultValuesFormSubmit (array $element, array &$form, FormStateInterface $form_state)
 
 equals (FieldItemListInterface $list_to_compare)
 
- Public Member Functions inherited from ItemList
 getValue ()
 
 setValue ($values, $notify=TRUE)
 
 getString ()
 
 get ($index)
 
 set ($index, $value)
 
 removeItem ($index)
 
 first ()
 
 offsetExists ($offset)
 
 offsetUnset ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 appendItem ($value=NULL)
 
 getItemDefinition ()
 
 getIterator ()
 
 count ()
 
 isEmpty ()
 
 filter ($callback)
 
 onChange ($delta)
 
 __clone ()
 
- Public Member Functions inherited from TypedData
 __construct ($definition, $name=NULL, TypedDataInterface $parent=NULL)
 
 getPluginId ()
 
 getPluginDefinition ()
 
 getDataDefinition ()
 
 getValue ()
 
 setValue ($value, $notify=TRUE)
 
 getString ()
 
 getConstraints ()
 
 validate ()
 
 applyDefaultValue ($notify=TRUE)
 
 setContext ($name=NULL, TraversableTypedDataInterface $parent=NULL)
 
 getName ()
 
 getRoot ()
 
 getPropertyPath ()
 
 getParent ()
 

Additional Inherited Members

- Static Public Member Functions inherited from EntityReferenceFieldItemList
static processDefaultValue ($default_value, FieldableEntityInterface $entity, FieldDefinitionInterface $definition)
 
- Static Public Member Functions inherited from FieldItemList
static processDefaultValue ($default_value, FieldableEntityInterface $entity, FieldDefinitionInterface $definition)
 
- Static Public Member Functions inherited from TypedData
static createInstance ($definition, $name=NULL, TraversableTypedDataInterface $parent=NULL)
 
- Protected Member Functions inherited from FieldItemList
 createItem ($offset=0, $value=NULL)
 
 delegateMethod ($method)
 
 defaultValueWidget (FormStateInterface $form_state)
 
- Protected Member Functions inherited from ItemList
 rekey ($from_index=0)
 
 createItem ($offset=0, $value=NULL)
 
- Protected Attributes inherited from FieldItemList
 $list = array()
 
 $langcode = LanguageInterface::LANGCODE_NOT_SPECIFIED
 
- Protected Attributes inherited from ItemList
 $list = array()
 
- Protected Attributes inherited from TypedData
 $definition
 
 $name
 
 $parent
 

Detailed Description

Represents a configurable entity file field.

Member Function Documentation

defaultValuesForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

delete ( )

{Defines custom delete behavior for field values.This method is called during the process of deleting an entity, just before values are deleted from storage.}

Implements FieldItemListInterface.

References Drupal\service().

Here is the call graph for this function:

deleteRevision ( )

{Defines custom revision delete behavior for field values.This method is called from during the process of deleting an entity revision, just before the field values are deleted from storage. It is only called for entity types that support revisioning.}

Implements FieldItemListInterface.

References Drupal\service().

Here is the call graph for this function:


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