class IFrameMarkup
Same name and namespace in other branches
- 8.9.x core/modules/media/src/IFrameMarkup.php \Drupal\media\IFrameMarkup
- 10 core/modules/media/src/IFrameMarkup.php \Drupal\media\IFrameMarkup
- 11.x core/modules/media/src/IFrameMarkup.php \Drupal\media\IFrameMarkup
Defines an object that wraps oEmbed markup for use in an iFrame.
This object is not constructed with a known safe string as the strings come from an external site. It must not be used outside the Media module's oEmbed iframe rendering.
@internal This object is an internal part of the oEmbed system and should only be used in \Drupal\media\Controller\OEmbedIframeController.
Hierarchy
- class \Drupal\media\IFrameMarkup extends \Drupal\Component\Render\MarkupInterface uses \Drupal\Component\Render\MarkupTrait
Expanded class hierarchy of IFrameMarkup
See also
\Drupal\media\Controller\OEmbedIframeController
1 file declares its use of IFrameMarkup
- OEmbedIframeController.php in core/
modules/ media/ src/ Controller/ OEmbedIframeController.php
File
-
core/
modules/ media/ src/ IFrameMarkup.php, line 21
Namespace
Drupal\mediaView source
class IFrameMarkup implements MarkupInterface {
use MarkupTrait;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
MarkupTrait::$string | protected | property | The safe string. | |
MarkupTrait::count | public | function | Returns the string length. | |
MarkupTrait::create | public static | function | Creates a Markup object if necessary. | 2 |
MarkupTrait::jsonSerialize | public | function | Returns a representation of the object for use in JSON serialization. | |
MarkupTrait::__toString | public | function | Returns the string version of the Markup object. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.