コード例 #1
0
ファイル: PageMenu.php プロジェクト: sitesupra/sitesupra-demo
 protected function configureAttributes(AttributeMapper $mapper)
 {
     $mapper->title('Page Menu')->description('Menu based on page structure in Site Map.')->icon('sample:blocks/menu.png')->controller('Sample\\Blocks\\PageMenuController');
 }
コード例 #2
0
ファイル: Tabs.php プロジェクト: sitesupra/sitesupra-demo
 /**
  * {@inheritDoc}
  */
 protected function configureAttributes(AttributeMapper $mapper)
 {
     $mapper->title('Tabs')->icon('sample:blocks/tabs.png')->description('Allows you to format text in tabs');
 }
コード例 #3
0
 protected function configureAttributes(AttributeMapper $mapper)
 {
     $mapper->title('Google Map')->icon('sample:blocks/google-map.png');
 }
コード例 #4
0
ファイル: Gallery1.php プロジェクト: sitesupra/sitesupra-demo
 protected function configureAttributes(AttributeMapper $mapper)
 {
     $mapper->title('Gallery Example 1')->icon('sample:blocks/gallery.png');
 }
コード例 #5
0
ファイル: Text.php プロジェクト: sitesupra/sitesupra-demo
 protected function configureAttributes(AttributeMapper $mapper)
 {
     $mapper->title('Text Block')->description('Text Block with wysiwyg editor.')->icon('sample:blocks/text.png')->template('sample:blocks/text.html.twig');
 }
コード例 #6
0
ファイル: Menu.php プロジェクト: sitesupra/sitesupra-demo
 protected function configureAttributes(AttributeMapper $mapper)
 {
     $mapper->title('Menu')->icon('sample:blocks/menu.png');
 }
コード例 #7
0
 protected function configureAttributes(AttributeMapper $mapper)
 {
     $mapper->title('Contact Form')->icon('sample:blocks/contact-form.png')->controller('Sample\\Blocks\\ContactFormController');
 }
コード例 #8
0
 protected function configureAttributes(AttributeMapper $mapper)
 {
     $mapper->title('Social links')->icon('sample:blocks/social-links.png');
 }