@@ -24,20 +24,20 @@ function entity_embed_wysiwyg_permission() {
24
24
}
25
25
26
26
/**
27
- * Impliments hook_menu()
27
+ * Impliments hook_menu().
28
28
*/
29
29
function entity_embed_wysiwyg_menu() {
30
30
$items['admin/config/content/wysiwyg/entity_embed'] = array(
31
- 'title' => t( 'Entity Embed') ,
32
- 'description' => t( 'Configure Entity Embed WYSIWYG.') ,
31
+ 'title' => 'Entity Embed',
32
+ 'description' => 'Configure Entity Embed WYSIWYG.',
33
33
'page callback' => 'drupal_get_form',
34
34
'page arguments' => array('entity_embed_wysiwyg_admin_form'),
35
35
'access arguments' => array('administer entity_embed_wysiwyg'),
36
36
'file' => 'entity_embed_wysiwyg.admin.inc',
37
37
'type' => MENU_LOCAL_TASK,
38
38
);
39
39
$items['admin/config/content/wysiwyg/entity_embed/entity_edit/%/%'] = array(
40
- 'title' => t( 'Edit Entity') ,
40
+ 'title' => 'Edit Entity',
41
41
'page callback' => 'entity_embed_wysiwyg_edit_entity',
42
42
'page arguments' => array(6, 7),
43
43
'access callback' => 'entity_embed_wysiwyg_edit_entity_access',
@@ -80,7 +80,7 @@ function entity_embed_wysiwyg_wysiwyg_plugin($editor, $version) {
80
80
*
81
81
* @param int $entity_id
82
82
* ID of entity for which an edit form is being loaded.
83
- * @param string $entity_Type
83
+ * @param string $entity_type
84
84
* Type of entity for which an edit form is being loaded.
85
85
*
86
86
* @return string
@@ -99,7 +99,7 @@ function entity_embed_wysiwyg_edit_entity_access($entity_id, $entity_type) {
99
99
*
100
100
* @param int $entity_id
101
101
* ID of entity for which an edit form is being loaded.
102
- * @param string $entity_Type
102
+ * @param string $entity_type
103
103
* Type of entity for which an edit form is being loaded.
104
104
*
105
105
* @return string
@@ -118,12 +118,12 @@ function entity_embed_wysiwyg_edit_entity($entity_id, $entity_type) {
118
118
}
119
119
120
120
/**
121
- * Implements hook_js_alter()
121
+ * Implements hook_js_alter().
122
122
*/
123
123
function entity_embed_wysiwyg_js_alter(&$javascript) {
124
124
$current_path = current_path();
125
125
if ($current_path == 'admin/config/content/wysiwyg/entity_embed/select' ||
126
- strpos($current_path, 'admin/config/content/wysiwyg/entity_embed/entity_edit') !== false ) {
126
+ strpos($current_path, 'admin/config/content/wysiwyg/entity_embed/entity_edit') !== FALSE ) {
127
127
// Remove admin_menu.
128
128
admin_menu_suppress();
129
129
@@ -134,7 +134,7 @@ function entity_embed_wysiwyg_js_alter(&$javascript) {
134
134
}
135
135
136
136
/**
137
- * Implements hook_css_alter()
137
+ * Implements hook_css_alter().
138
138
*/
139
139
function entity_embed_wysiwyg_css_alter(&$css) {
140
140
if (current_path() == 'admin/config/content/wysiwyg/entity_embed/select') {
0 commit comments