Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
editor
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
editor
Commits
54b269e9
Commit
54b269e9
authored
3 months ago
by
Devin Carlson
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3484715
: Remove unused filter_css_alter()
parent
5dd6f866
No related branches found
No related tags found
1 merge request
!5
Issue #3484715: Remove unused filter_css_alter()
Pipeline
#325388
passed with warnings
3 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/editor.filter.inc
+0
-15
0 additions, 15 deletions
includes/editor.filter.inc
with
0 additions
and
15 deletions
includes/editor.filter.inc
+
0
−
15
View file @
54b269e9
...
...
@@ -64,21 +64,6 @@ function filter_js_alter(&$javascript) {
}
}
/**
* Implements hook_css_alter() on behalf of filter.module.
*
* Replace Filter's CSS files with more fully-featured alternatives.
*/
function
filter_css_alter
(
&
$css
)
{
// Replace filter.css.
$path
=
drupal_get_path
(
'module'
,
'filter'
)
.
'/filter.css'
;
if
(
isset
(
$javascript
[
$path
]))
{
$css
[
$path
][
'data'
]
=
drupal_get_path
(
'module'
,
'editor'
)
.
'/css/filter.css'
;
$css
[
$path
][
'type'
]
=
'file'
;
}
}
/**
* Implements hook_form_FORM_ID_alter().
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment