Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
9148b2cb
Commit
9148b2cb
authored
14 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade drupal_get_form().
parent
4e07947d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/FeedsConfigurable.inc
+1
-2
1 addition, 2 deletions
includes/FeedsConfigurable.inc
with
1 addition
and
2 deletions
includes/FeedsConfigurable.inc
+
1
−
2
View file @
9148b2cb
...
@@ -205,14 +205,13 @@ abstract class FeedsConfigurable {
...
@@ -205,14 +205,13 @@ abstract class FeedsConfigurable {
* The form method that should be rendered.
* The form method that should be rendered.
*
*
* @return
* @return
*
Rendered c
onfig form
,
if available.
Empty string
otherwise.
*
C
onfig form
array
if available.
NULL
otherwise.
*/
*/
function
feeds_get_form
(
$configurable
,
$form_method
)
{
function
feeds_get_form
(
$configurable
,
$form_method
)
{
$form_state
=
array
();
$form_state
=
array
();
if
(
method_exists
(
$configurable
,
$form_method
))
{
if
(
method_exists
(
$configurable
,
$form_method
))
{
return
drupal_get_form
(
get_class
(
$configurable
)
.
'_feeds_form'
,
$configurable
,
$form_method
);
return
drupal_get_form
(
get_class
(
$configurable
)
.
'_feeds_form'
,
$configurable
,
$form_method
);
}
}
return
''
;
}
}
/**
/**
...
...
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