Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Navigation', 'navigation');
     $tool->setIcon('menu')->setDescription('Create different kinds of navigation lists');
     return $tool;
 }
Esempio n. 2
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool('iFrame', 'OpiferContentBundle:IFrameBlock');
     $tool->setIcon('web_asset')->setDescription('Include a iframe with url of choice');
     return $tool;
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     if (is_null($block) || !$block->getReference()) {
         $tool = new Tool('Shared block', 'pointer');
         $tool->setIcon('all_inclusive')->setDescription('This block will load a shared block');
         return $tool;
     }
     return $this->getReferenceService($block)->getTool($block->getReference());
 }
Esempio n. 4
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('List', 'list');
     $tool->setIcon('list')->setDescription('Adds references to a collection of content items');
     return $tool;
 }
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool($this->getName(), 'section');
     $tool->setIcon('crop_din')->setGroup(Tool::GROUP_LAYOUT)->setDescription('Section element to hold columns or content in');
     return $tool;
 }
Esempio n. 6
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Carousel slide', 'carousel_slide');
     $tool->setIcon('filter')->setDescription('A basic carousel slide');
     return $tool;
 }
Esempio n. 7
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool('Carousel slide', 'OpiferContentBundle:CarouselSlideBlock');
     $tool->setIcon('filter')->setDescription('A basic carousel slide');
     return $tool;
 }
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Breadcrumb', 'breadcrumbs');
     $tool->setIcon('linear_scale')->setDescription('Navigation path of current content');
     return $tool;
 }
Esempio n. 9
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Search results', 'search_results');
     $tool->setIcon('search')->setDescription('Lists search results from a user query');
     return $tool;
 }
Esempio n. 10
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool($this->getName(), 'tabnav');
     $tool->setIcon('tab')->setGroup(Tool::GROUP_LAYOUT)->setDescription('Inserts tab navigation to control tabbed content');
     return $tool;
 }
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Subscribe form', 'subscribe');
     $tool->setIcon('contact_mail')->setDescription('Subscribe with email address to designated mailing lists');
     return $tool;
 }
Esempio n. 12
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool('Shared block', 'OpiferContentBundle:PointerBlock');
     $tool->setIcon('all_inclusive')->setDescription('This block will load a shared block');
     return $tool;
 }
Esempio n. 13
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Carousel', 'carousel');
     $tool->setIcon('view_carousel')->setDescription('Create a carousel of two or more slides');
     return $tool;
 }
Esempio n. 14
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool('Collection', 'OpiferContentBundle:CollectionBlock');
     $tool->setIcon('query_builder')->setDescription('Adds references to a collection of content items');
     return $tool;
 }
Esempio n. 15
0
 /**
  * {@inheritdoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Image', 'image');
     $tool->setIcon('image')->setDescription('Provides an image from the library in the right size.');
     return $tool;
 }
Esempio n. 16
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool('List', 'OpiferContentBundle:ListBlock');
     $tool->setIcon('list')->setDescription('Adds references to a collection of content items');
     return $tool;
 }
Esempio n. 17
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Button link', 'button');
     $tool->setIcon('link')->setDescription('Creates a link to a (external) page or content');
     return $tool;
 }
Esempio n. 18
0
 /**
  * {@inheritdoc}
  */
 public function getTool()
 {
     $tool = new Tool('Image', 'OpiferContentBundle:ImageBlock');
     $tool->setIcon('image')->setDescription('Provides an image from the library in the right size.');
     return $tool;
 }
Esempio n. 19
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Form', 'form');
     $tool->setIcon('receipt')->setDescription('Include a form created in Forms');
     return $tool;
 }
Esempio n. 20
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool($this->getName(), 'OpiferContentBundle:ColumnBlock');
     $tool->setData(['columnCount' => $this->columnCount])->setGroup(Tool::GROUP_LAYOUT)->setIcon('view_column')->setDescription('Inserts ' . $this->columnCount . ' columns equal in width');
     return $tool;
 }
Esempio n. 21
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     switch ($this->columnCount) {
         case 1:
             $type = 'one';
             break;
         case 2:
             $type = 'two';
             break;
         case 3:
             $type = 'three';
             break;
         case 4:
             $type = 'four';
             break;
     }
     $tool = new Tool($this->getName(), 'column_' . $type);
     $tool->setData(['columnCount' => $this->columnCount])->setGroup(Tool::GROUP_LAYOUT)->setIcon('view_column')->setDescription('Inserts ' . $this->columnCount . ' columns equal in width');
     return $tool;
 }
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('CookieWall', 'cookiewall');
     $tool->setIcon('info')->setDescription('Cookiewall');
     return $tool;
 }
Esempio n. 23
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool($this->getName(), 'container');
     $tool->setIcon('crop_free')->setGroup(Tool::GROUP_LAYOUT)->setDescription('Container element to hold columns or other blocks in');
     return $tool;
 }
Esempio n. 24
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool('Rich text', 'OpiferContentBundle:HtmlBlock');
     $tool->setIcon('text_fields')->setDescription('Rich content editable through WYSIWYG editor.');
     return $tool;
 }
Esempio n. 25
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Avatar', 'avatar');
     $tool->setIcon('account_box')->setDescription('Shows logged user data or login/register button');
     return $tool;
 }
Esempio n. 26
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool('Carousel', 'OpiferContentBundle:CarouselBlock');
     $tool->setIcon('view_carousel')->setDescription('Create a carousel of two or more slides');
     return $tool;
 }
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Social share', 'socialshare');
     $tool->setIcon('share')->setDescription('Adds buttons to share content on social media');
     return $tool;
 }
Esempio n. 28
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('Cookie wall', 'cookiewall');
     $tool->setIcon('info')->setDescription('Dismissable message regarding EU cookies regulation');
     return $tool;
 }
Esempio n. 29
0
 /**
  * {@inheritDoc}
  */
 public function getTool()
 {
     $tool = new Tool('JavaScript', 'OpiferContentBundle:JavaScriptBlock');
     $tool->setIcon('code')->setDescription('Include custom JavaScript code block');
     return $tool;
 }
Esempio n. 30
0
 /**
  * {@inheritDoc}
  */
 public function getTool(BlockInterface $block = null)
 {
     $tool = new Tool('JavaScript', 'javascript');
     $tool->setIcon('code')->setDescription('Include custom JavaScript code block');
     return $tool;
 }