Drupal 8  8.0.2
EditorImageDialog Class Reference
Inheritance diagram for EditorImageDialog:

Public Member Functions

 __construct (EntityStorageInterface $file_storage)
 
 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state, FilterFormat $filter_format=NULL)
 
 submitForm (array &$form, FormStateInterface $form_state)
 

Static Public Member Functions

static create (ContainerInterface $container)
 

Protected Attributes

 $fileStorage
 

Detailed Description

Provides an image dialog for text editors.

Constructor & Destructor Documentation

__construct ( EntityStorageInterface  $file_storage)

Constructs a form object for image dialog.

Parameters
\Drupal\Core\Entity\EntityStorageInterface$file_storageThe file storage service.

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state,
FilterFormat  $filter_format = NULL 
)

{}

Parameters
\Drupal\filter\Entity\FilterFormat$filter_formatThe filter format for which this dialog corresponds.

References Drupal\entityManager(), file_upload_max_size(), FormStateInterface\get(), FormStateInterface\getUserInput(), FormStateInterface\set(), FormStateInterface\setCached(), t(), and Bytes\toInt().

Here is the call graph for this function:

static create ( ContainerInterface  $container)
static

{}

getFormId ( )

{}

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References file_create_url(), file_url_transform_relative(), FormStateInterface\getErrors(), FormStateInterface\getValue(), FormStateInterface\getValues(), and FormStateInterface\setValue().

Here is the call graph for this function:


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