public function SiteSettingsRenderer::setDefaultImageSizeOutput in Site Settings and Labels 8
Set default image size output.
Parameters
int $width: The max image width in pixels.
int $height: The max image height in pixels.
File
- src/
SiteSettingsRenderer.php, line 62
Class
- SiteSettingsRenderer
- Class SiteSettingsRenderer.
Namespace
Drupal\site_settingsCode
public function setDefaultImageSizeOutput($width, $height) {
$this->defaultImageWidth = $width;
$this->defaultImageHeight = $height;
}