ImmutableConfig::clear

public ImmutableConfig::clear($key) Unsets a value in this configuration object. Parameters string $key: Name of the key whose value should be unset. Return value $this The configuration object. Overrides Config::clear File core/lib/Drupal/Core/Config/ImmutableConfig.php, line 33 Class ImmutableConfig Defines the immutable configuration object. Namespace Drupal\Core\Config Code public function clear($key) { throw new ImmutableConfigException("Can not clear $key key in immutable con

ImmutableConfig

Defines the immutable configuration object. Encapsulates all capabilities needed for runtime configuration handling except being able to change the configuration. If you need to be able to change configuration use \Drupal\Core\Form\ConfigFormBaseTrait or \Drupal\Core\Config\ConfigFactoryInterface::getEditable(). Hierarchy class \Drupal\Core\Config\ConfigBase implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Co

image_uninstall

image_uninstall() Implements hook_uninstall(). File core/modules/image/image.install, line 20 Install, update and uninstall functions for the image module. Code function image_uninstall() { // Remove the styles directory and generated images. file_unmanaged_delete_recursive(file_default_scheme() . '://styles'); }

image_theme

image_theme() Implements hook_theme(). File core/modules/image/image.module, line 103 Exposes global functionality for creating image styles. Code function image_theme() { return array( // Theme functions in image.module. 'image_style' => array( // HTML 4 and XHTML 1.0 always require an alt attribute. The HTML 5 draft // allows the alt attribute to be omitted in some cases. Therefore, // default the alt attribute to an empty string, but allow code using //

image_style_options

image_style_options($include_empty = TRUE) Gets an array of image styles suitable for using as select list options. Parameters $include_empty: If TRUE a '- None -' option will be inserted in the options array. Return value Array of image styles both key and value are set to style name. File core/modules/image/image.module, line 240 Exposes global functionality for creating image styles. Code function image_style_options($include_empty = TRUE) { $styles = ImageStyle::loadMultiple(); $opt

IMAGE_STORAGE_OVERRIDE

Image style constant for user presets that override module-defined presets. Deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.0. File core/modules/image/image.module, line 27 Exposes global functionality for creating image styles. Code const IMAGE_STORAGE_OVERRIDE = 2;

IMAGE_STORAGE_NORMAL

Image style constant for user presets in the database. Deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.0. File core/modules/image/image.module, line 20 Exposes global functionality for creating image styles. Code const IMAGE_STORAGE_NORMAL = 1;

IMAGE_STORAGE_MODULE

Image style constant to represent any module-based preset. Deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.0. File core/modules/image/image.module, line 48 Exposes global functionality for creating image styles. Code define('IMAGE_STORAGE_MODULE', IMAGE_STORAGE_OVERRIDE | IMAGE_STORAGE_DEFAULT)

IMAGE_STORAGE_EDITABLE

Image style constant to represent an editable preset. Deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.0. File core/modules/image/image.module, line 41 Exposes global functionality for creating image styles. Code define('IMAGE_STORAGE_EDITABLE', IMAGE_STORAGE_NORMAL | IMAGE_STORAGE_OVERRIDE)

IMAGE_STORAGE_DEFAULT

Image style constant for module-defined presets in code. Deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.0. File core/modules/image/image.module, line 34 Exposes global functionality for creating image styles. Code const IMAGE_STORAGE_DEFAULT = 4;