Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

ResponsiveImage.php

Namespace

Drupal\responsive_image\Element

File

core/modules/responsive_image/src/Element/ResponsiveImage.php

View source
<?php

namespace Drupal\responsive_image\Element;

use Drupal\Core\Render\Attribute\RenderElement;
use Drupal\Core\Render\Element\RenderElementBase;

/**
 * Provides a responsive image element.
 */
class ResponsiveImage extends RenderElementBase {
    
    /**
     * {@inheritdoc}
     */
    public function getInfo() {
        return [
            '#theme' => 'responsive_image',
        ];
    }

}

Classes

Title Deprecated Summary
ResponsiveImage Provides a responsive image element.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal