You are here

public function IconBuilderInterface::setHeight in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setHeight()
  2. 9 core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setHeight()

Sets the height.

Parameters

int $height: The height of the SVG.

Return value

$this

1 method overrides IconBuilderInterface::setHeight()
SvgIconBuilder::setHeight in core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php
Sets the height.

File

core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php, line 77

Class

IconBuilderInterface
Provides an interface for building layout icons.

Namespace

Drupal\Core\Layout\Icon

Code

public function setHeight($height);