Projet

Général

Profil

Révision 6eb57d7f

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ckeditor/ckeditor.api.php
48 48
      'path' => base_path() . drupal_get_path('module', 'my_module') . '/plugin_dir/',
49 49
      'buttons' => array(
50 50
        'button_name' => array(
51
          // Path to an icon relative to the plugins folder.
51
          // Path to the button icon. Relative to the plugin directory 'path' unless 'icon_path' is specified.
52 52
          'icon' => 'icon/plugin_name.png',
53
          // Optional full path to the directory the icon is located in.
54
          'icon_path' => base_path() . drupal_get_path('theme', 'my_theme') . '/icon_dir/',
53 55
          'label' => 'Button Label',
54 56
        )
55 57
      )

Formats disponibles : Unified diff