Skip to content

Commit

Permalink
Removed breadcrumb options
Browse files Browse the repository at this point in the history
  • Loading branch information
gorriecoe committed Apr 26, 2018
1 parent 15b2d1e commit c5a48b1
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions src/extensions/MetaFieldsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ class MetaFieldsExtension extends DataExtension
'MetaCustomImage' => Image::class,
'TwitterCustomImage' => Image::class,
'OGCustomImage' => Image::class,
'PinterestCustomImage' => Image::class,
'BreadcrumbIcon' => Image::class
'PinterestCustomImage' => Image::class
];

/**
Expand Down Expand Up @@ -86,9 +85,7 @@ public function updateCMSFields(FieldList $fields)
'FBAuthorlink',
'GplusAuthorlink',
'GplusPublisherlink',
'PinterestCustomImage',
'RichSnippetsHeader',
'BreadcrumbIcon'
'PinterestCustomImage'
]);

$fields->addFieldsToTab(
Expand Down Expand Up @@ -187,17 +184,7 @@ public function updateCMSFields(FieldList $fields)
"GplusPublisherlink",
_t(__CLASS__ . 'GPLUSPUBLISHERLINK', 'Google+ publisher')
)
->setRightTitle(_t(__CLASS__ . 'GPLUSPUBLISHERLINKHELP', 'Publisher Google+ PAGE URL')),
HeaderField::create(
'RichSnippetsHeader',
_t(__CLASS__ . 'RICHSNIPPETSHEADER', 'Rich snippets')
),
UploadField::create(
'BreadcrumbIcon',
_t(__CLASS__ . 'BREADCRUMBICON', 'Breadcrumb Icon')
)
->setAllowedFileCategories('image')
->setAllowedMaxFileNumber(1)
->setRightTitle(_t(__CLASS__ . 'GPLUSPUBLISHERLINKHELP', 'Publisher Google+ PAGE URL'))
)
);

Expand Down

0 comments on commit c5a48b1

Please sign in to comment.