This class embodies an Image block inside a StructuredText fragment. Since its features are strictly similar to an ImageView, it only contains an ImageView object.
§ __construct()
| Prismic\Fragment\Block\ImageBlock::__construct |
( |
|
$view, |
|
|
|
$label = NULL |
|
) |
| |
§ getLabel()
| Prismic\Fragment\Block\ImageBlock::getLabel |
( |
| ) |
|
Returns the label
- Returns
- string the label
§ getView()
| Prismic\Fragment\Block\ImageBlock::getView |
( |
| ) |
|
The documentation for this class was generated from the following file:
- src/Prismic/Fragment/Block/ImageBlock.php