|
@@ -389,7 +389,7 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
|
|
*
|
|
*
|
|
* @var boolean
|
|
* @var boolean
|
|
*/
|
|
*/
|
|
- protected $supportsPreviewMode = false;
|
|
|
|
|
|
+ public $supportsPreviewMode = false;
|
|
|
|
|
|
/**
|
|
/**
|
|
* Roles and permissions per role
|
|
* Roles and permissions per role
|
|
@@ -2414,18 +2414,6 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
|
|
return $this->labelTranslatorStrategy;
|
|
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
|
|
* Enables the preview template for the create/edit actions
|
|
*/
|
|
*/
|