|
@@ -396,7 +396,7 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
|
|
|
*
|
|
|
* @var boolean
|
|
|
*/
|
|
|
- protected $supportsPreviewMode = false;
|
|
|
+ public $supportsPreviewMode = false;
|
|
|
|
|
|
/**
|
|
|
* Roles and permissions per role
|
|
@@ -2516,18 +2516,6 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
|
|
|
return $this->labelTranslatorStrategy;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Returning true will enable preview mode for
|
|
|
- * the target entity and show a preview button
|
|
|
- * when editing/creating an entity
|
|
|
- *
|
|
|
- * @return boolean
|
|
|
- */
|
|
|
- public function supportsPreviewMode()
|
|
|
- {
|
|
|
- return $this->supportsPreviewMode;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Enables the preview template for the create/edit actions
|
|
|
*/
|