mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
34 lines
714 B
PHP
34 lines
714 B
PHP
<?php namespace Cms\Components;
|
|
|
|
use Cms\Classes\ComponentBase;
|
|
|
|
class SoftComponent extends ComponentBase
|
|
{
|
|
/**
|
|
* @var string Message that is shown with this component.
|
|
*/
|
|
protected $message;
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function __construct($properties)
|
|
{
|
|
$this->componentCssClass = 'warning-component';
|
|
$this->inspectorEnabled = false;
|
|
|
|
parent::__construct(null, $properties);
|
|
}
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function componentDetails()
|
|
{
|
|
return [
|
|
'name' => 'cms::lang.component.soft_component',
|
|
'description' => 'cms::lang.component.soft_component_description'
|
|
];
|
|
}
|
|
}
|