X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fckeditor_widgets%2Fsrc%2FPlugin%2FCKEditorPlugin%2FWidgetBootstrap.php;fp=web%2Fmodules%2Fcontrib%2Fckeditor_widgets%2Fsrc%2FPlugin%2FCKEditorPlugin%2FWidgetBootstrap.php;h=9e574cce335444b6652d297b230912e82f0bc65b;hp=0000000000000000000000000000000000000000;hb=8acec36f19c470dfcda1ae2336826a782f41874c;hpb=e0411c4e83ba0d079034db83c3f7f55be24a0e35 diff --git a/web/modules/contrib/ckeditor_widgets/src/Plugin/CKEditorPlugin/WidgetBootstrap.php b/web/modules/contrib/ckeditor_widgets/src/Plugin/CKEditorPlugin/WidgetBootstrap.php new file mode 100644 index 000000000..9e574cce3 --- /dev/null +++ b/web/modules/contrib/ckeditor_widgets/src/Plugin/CKEditorPlugin/WidgetBootstrap.php @@ -0,0 +1,88 @@ + array( + 'label' => $this->t('Insert left column box'), + 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgetbootstrap/icons/widgetbootstrapLeftCol.png', + ), + 'widgetbootstrapRightCol' => array( + 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgetbootstrap/icons/widgetbootstrapRightCol.png', + 'label' => $this->t('Insert right column box'), + ), + 'widgetbootstrapTwoCol' => array( + 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgetbootstrap/icons/widgetbootstrapTwoCol.png', + 'label' => $this->t('Insert two column box'), + ), + 'widgetbootstrapThreeCol' => array( + 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgetbootstrap/icons/widgetbootstrapThreeCol.png', + 'label' => $this->t('Insert three column box'), + ), + 'widgetbootstrapAlert' => array( + 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgetbootstrap/icons/widgetbootstrapAlert.png', + 'label' => $this->t('Insert alert box'), + ), + 'widgetbootstrapAccordion' => array( + 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgetbootstrap/icons/widgetbootstrapAccordion.png', + 'label' => $this->t('Insert accordion box'), + ), + ); + } + + /** + * {@inheritdoc} + */ + public function getConfig(Editor $editor) { + return array(); + } +}