diff --git a/source/php/Module/Text/Text.php b/source/php/Module/Text/Text.php index c6d4fe758..644dee1d9 100644 --- a/source/php/Module/Text/Text.php +++ b/source/php/Module/Text/Text.php @@ -16,24 +16,14 @@ public function init() public function data() : array { - $data = $this->getFields(); - $data['classes'] = implode(' ', apply_filters('Modularity/Module/Classes', array('box', 'box-panel'), $this->post_type, $this->args)); - $data['ID'] = $this->ID; - - if($data['content']) { - $data['post_content'] = $data['content']; - } - - return $data; + return $this->getFields(); } public function template() { if (!isset($this->data['hide_box_frame']) || !$this->data['hide_box_frame']) { - return 'box.blade.php'; + return 'box.blade.php'; } - - return 'article.blade.php'; } diff --git a/source/php/Module/Text/views/box-v3.blade.php.example b/source/php/Module/Text/views/box-v3.blade.php.example deleted file mode 100644 index 7be38ea3f..000000000 --- a/source/php/Module/Text/views/box-v3.blade.php.example +++ /dev/null @@ -1 +0,0 @@ -This is an example view for Modularity v3