You are here

public function MediaForm::getEntity in GridStack 8.2

Returns the current entity.

1 call to MediaForm::getEntity()
MediaForm::getFieldDefinitions in src/Plugin/gridstack/stylizer/MediaForm.php
Gets the definitions of the fields that are candidate for display.

File

src/Plugin/gridstack/stylizer/MediaForm.php, line 96

Class

MediaForm
Provides the media form for Layout Builder integration.

Namespace

Drupal\gridstack\Plugin\gridstack\stylizer

Code

public function getEntity() {
  return $this->entity;
}