function Image::__construct

Same name in this branch
  1. 9 core/modules/media/src/Plugin/media/Source/Image.php \Drupal\media\Plugin\media\Source\Image::__construct()
  2. 9 core/lib/Drupal/Core/Image/Image.php \Drupal\Core\Image\Image::__construct()
Same name and namespace in other branches
  1. 8.9.x core/modules/media/src/Plugin/media/Source/Image.php \Drupal\media\Plugin\media\Source\Image::__construct()
  2. 8.9.x core/lib/Drupal/Core/Image/Image.php \Drupal\Core\Image\Image::__construct()
  3. 10 core/modules/media/src/Plugin/media/Source/Image.php \Drupal\media\Plugin\media\Source\Image::__construct()
  4. 10 core/lib/Drupal/Core/Image/Image.php \Drupal\Core\Image\Image::__construct()
  5. 11.x core/modules/media/src/Plugin/media/Source/Image.php \Drupal\media\Plugin\media\Source\Image::__construct()
  6. 11.x core/lib/Drupal/Core/Image/Image.php \Drupal\Core\Image\Image::__construct()

Constructs a Image object.

File

core/modules/image/src/Plugin/InPlaceEditor/Image.php, line 25

Class

Image
Defines the image text in-place editor.

Namespace

Drupal\image\Plugin\InPlaceEditor

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
    @trigger_error('Drupal\\image\\Plugin\\InPlaceEditor\\Image is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use Drupal\\quickedit\\Plugin\\InPlaceEditor\\Image instead. See https://www.drupal.org/node/3271848', E_USER_DEPRECATED);
    parent::__construct($configuration, $plugin_id, $plugin_definition);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.