Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
IconBuilderInterface.php
function 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
);
RSS feed