function IconBuilderInterface::setWidth

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setWidth()
  2. 8.9.x core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setWidth()
  3. 10 core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setWidth()

Sets the width.

Parameters

int $width: The width of the SVG.

Return value

$this

File

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

Class

IconBuilderInterface
Provides an interface for building layout icons.

Namespace

Drupal\Core\Layout\Icon

Code

public function setWidth($width);

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