Commit 1b689de0 authored by osman's avatar osman

Removed depricated code; fixed typo in docs.

parent 2948326b
......@@ -95,12 +95,12 @@ Repeat these steps for each image field you want to enable lazy-loading:
1. **Configure** the [text format](/admin/config/content/formats) you want to enable lazy-loading. *i.e. Full HTML*
2. Check **Lazy-load images and IFRAMEs via bLazy** option to enable the filter, and save configuration.
3. Go to [Lazy-load settings](/admin/config/content/lazy).
4. Check the boxes for the inline elements to be lazy-loaded via filter `<img>` `<iframe>`
4. Check the boxes for the inline elements (`<img>`, `<iframe>`) to be lazy-loaded via filter.
5. Save configuration
*Repeat steps 1-2 for each text-format you want to enable lazy-loading.*
### Blazy plugin can be manupulated in your theme/module javascript:
### Blazy plugin can be manipulated in your theme/module javascript:
The options in **Blazy configuration** section of the settings form are the default options of the Blazy library. Refer to [Blazy plugin documentation][5] for each setting.
......
......@@ -111,15 +111,6 @@ class LazyForm extends ConfigFormBase {
'#disabled' => !$filter_enabled,
];
$form['settings']['image_fields'] = [
'#type' => 'checkbox',
'#title' => '<del>' . $this->t('Enable on image fields attached to fieldable entities. For example, content-types, blocks, paragraphs.') . '</del>',
'#description' => $this->t('This option is now controlled separately for each image field, in their display settings.'),
'#default_value' => 0,
'#return_value' => TRUE,
'#disabled' => TRUE,
];
$form['settings']['placeholderSrc'] = [
'#type' => 'textfield',
'#title' => $this->t('Placeholder image URL'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment