Search for width

  1. Search 7.x for width
  2. Search 9.5.x for width
  3. Search 10.3.x for width
  4. Search 11.x for width
  5. Other projects
Title Object type File name Summary
GDToolkit::getWidth function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Returns the width of the image.
IconBuilderInterface::setStrokeWidth function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Sets the stroke width.
IconBuilderInterface::setWidth function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Sets the width.
Image::getWidth function core/lib/Drupal/Core/Image/Image.php Returns the width of the image.
Image::METADATA_ATTRIBUTE_WIDTH constant core/modules/media/src/Plugin/media/Source/Image.php Key for "image width" metadata attribute.
ImageInterface::getWidth function core/lib/Drupal/Core/Image/ImageInterface.php Returns the width of the image.
ImageTest::testCropWidth function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::crop().
ImageTest::testGetWidth function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getWidth().
ImageTest::testScaleAndCropWidth function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::scaleAndCrop().
ImageTest::testScaleWidth function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::scale().
ImageTest::testThemeImageWithSrcsetWidth function core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php Tests that an image with the srcset and widths is output correctly.
ImageToolkitInterface::getWidth function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Returns the width of the image.
MultiWidthLayoutBase class core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Base class of layouts with configurable widths.
MultiWidthLayoutBase.php file core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php
MultiWidthLayoutBase::build function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Build a render array for layout with regions.
MultiWidthLayoutBase::buildConfigurationForm function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Form constructor.
MultiWidthLayoutBase::defaultConfiguration function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Gets default configuration for this plugin.
MultiWidthLayoutBase::getDefaultWidth function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Provides a default value for the width options.
MultiWidthLayoutBase::getWidthOptions function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Gets the width options for the configuration form.
MultiWidthLayoutBase::submitConfigurationForm function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Form submission handler.
OffCanvasTest::testNarrowWidth function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php Tests the body displacement behaves differently at a narrow width.
OpenOffCanvasDialogCommand::DEFAULT_DIALOG_WIDTH constant core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php The dialog width to use if none is provided.
Rectangle::$boundingWidth property core/lib/Drupal/Component/Utility/Rectangle.php The width of the rotated rectangle.
Rectangle::$width property core/lib/Drupal/Component/Utility/Rectangle.php The width of the rectangle.
Rectangle::getBoundingWidth function core/lib/Drupal/Component/Utility/Rectangle.php Gets the bounding width of the rectangle.
RectangleTest::testWrongWidth function core/tests/Drupal/Tests/Component/Utility/RectangleTest.php Tests wrong rectangle width.
Resource::$thumbnailWidth property core/modules/media/src/OEmbed/Resource.php The width of the thumbnail, in pixels.
Resource::$width property core/modules/media/src/OEmbed/Resource.php The width of the resource, in pixels.
Resource::getThumbnailWidth function core/modules/media/src/OEmbed/Resource.php Returns the width of the resource's thumbnail image.
Resource::getWidth function core/modules/media/src/OEmbed/Resource.php Returns the width of the resource.
SvgIconBuilder::$strokeWidth property core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php The width of region borders.
SvgIconBuilder::$width property core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php The width of the SVG.
SvgIconBuilder::setStrokeWidth function core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php Sets the stroke width.
SvgIconBuilder::setWidth function core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php Sets the width.
TestMultiWidthLayoutsTest class core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php Test the multi-width layout plugins.
TestMultiWidthLayoutsTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php
TestMultiWidthLayoutsTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php The theme to install as the default for testing.
TestMultiWidthLayoutsTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php Modules to enable.
TestMultiWidthLayoutsTest::assertWidthClassApplied function core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php Asserts the width class is applied to the first section.
TestMultiWidthLayoutsTest::FIELD_UI_PREFIX constant core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php Path prefix for the field UI for the test bundle.
TestMultiWidthLayoutsTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php
TestMultiWidthLayoutsTest::testWidthChange function core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php Test changing the columns widths of a multi-width section.
TestToolkit::$width property core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php The width of the image.
TestToolkit::getWidth function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Returns the width of the image.
ThreeColumnLayout::getDefaultWidth function core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php Provides a default value for the width options.
ThreeColumnLayout::getWidthOptions function core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php Gets the width options for the configuration form.
ToolkitGdTest::$width property core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php
TwoColumnLayout::getDefaultWidth function core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php Provides a default value for the width options.
TwoColumnLayout::getWidthOptions function core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php Gets the width options for the configuration form.

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