Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
84e62e6b
Commit
84e62e6b
authored
May 18, 2009
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#465398
by akahn: move aggregator settings to 'site configuration'. Yay.
parent
f2b6d3dc
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/aggregator/aggregator.api.php
+11
-11
11 additions, 11 deletions
modules/aggregator/aggregator.api.php
modules/aggregator/aggregator.module
+3
-4
3 additions, 4 deletions
modules/aggregator/aggregator.module
with
14 additions
and
15 deletions
modules/aggregator/aggregator.api.php
+
11
−
11
View file @
84e62e6b
...
...
@@ -21,7 +21,7 @@
* data.
*
* Modules that define this hook can be set as active fetcher on
* admin/
content
/aggregator
/settings
. Only one fetcher can be active at a time.
* admin/
settings
/aggregator. Only one fetcher can be active at a time.
*
* @param $feed
* The $feed object that describes the resource to be downloaded.
...
...
@@ -43,7 +43,7 @@ function hook_aggregator_fetch($feed) {
* fetcher.
*
* The title and the description provided are shown on
* admin/
content
/aggregator
/settings
among other places. Use as title the human
* admin/
settings
/aggregator among other places. Use as title the human
* readable name of the fetcher and as description a brief (40 to 80 characters)
* explanation of the fetcher's functionality.
*
...
...
@@ -75,7 +75,7 @@ function hook_aggregator_fetch_info() {
* data.
*
* Modules that define this hook can be set as active parser on
* admin/
content
/aggregator
/settings
. Only one parser can be active at a time.
* admin/
settings
/aggregator. Only one parser can be active at a time.
*
* @param $feed
* The $feed object that describes the resource to be parsed.
...
...
@@ -108,10 +108,10 @@ function hook_aggregator_parse($feed) {
* Implement this hook to expose the title and a short description of your
* parser.
*
* The title and the description provided are shown on
*
admin/content/aggregator/settings
among other places. Use as title the human
*
readable name of the parser and
as description a brief (40 to 80 characters)
*
explanation of the parser's
functionality.
* The title and the description provided are shown on
admin/settings/aggregator
* among other places. Use as title the human
readable name of the parser and
* as description a brief (40 to 80 characters)
explanation of the parser's
* functionality.
*
* This hook is only called if your module implements hook_aggregator_parse().
* If this hook is not implemented aggregator will use your module's file name
...
...
@@ -141,7 +141,7 @@ function hook_aggregator_parse_info() {
* data.
*
* Modules that define this hook can be activated as processor on
* admin/
content
/aggregator
/settings
.
* admin/
settings
/aggregator.
*
* @param $feed
* The $feed object that describes the resource to be processed. $feed->items
...
...
@@ -167,9 +167,9 @@ function hook_aggregator_process($feed) {
* processor.
*
* The title and the description provided are shown most importantly on
* admin/
content
/aggregator
/settings
. Use as title the natural name of the
*
processor
and as description a brief (40 to 80 characters) explanation of
*
the
functionality.
* admin/
settings
/aggregator. Use as title the natural name of the
processor
* and as description a brief (40 to 80 characters) explanation of
the
* functionality.
*
* This hook is only called if your module implements
* hook_aggregator_process(). If this hook is not implemented aggregator
...
...
This diff is collapsed.
Click to expand it.
modules/aggregator/aggregator.module
+
3
−
4
View file @
84e62e6b
...
...
@@ -122,12 +122,11 @@ function aggregator_menu() {
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
,
);
$items
[
'admin/content/aggregator/settings'
]
=
array
(
'title'
=>
'Settings'
,
$items
[
'admin/settings/aggregator'
]
=
array
(
'title'
=>
'Aggregator'
,
'description'
=>
'Configure the behavior of the feed aggregator, including when to discard feed items and how to present feed items and categories.'
,
'page callback'
=>
'drupal_get_form'
,
'page arguments'
=>
array
(
'aggregator_admin_form'
),
'type'
=>
MENU_LOCAL_TASK
,
'weight'
=>
10
,
'access arguments'
=>
array
(
'administer news feeds'
),
);
$items
[
'aggregator'
]
=
array
(
...
...
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