Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
honeypot-3423045
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
honeypot-3423045
Commits
3f251975
Commit
3f251975
authored
11 years ago
by
Tim Plunkett
Committed by
Jeff Geerling
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2055201
by timplunkett: Bundles are no longer supported.
parent
04d4afff
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
honeypot.routing.yml
+1
-1
1 addition, 1 deletion
honeypot.routing.yml
lib/Drupal/honeypot/HoneypotBundle.php
+0
-26
0 additions, 26 deletions
lib/Drupal/honeypot/HoneypotBundle.php
lib/Drupal/honeypot/HoneypotSettingsController.php
+0
-7
0 additions, 7 deletions
lib/Drupal/honeypot/HoneypotSettingsController.php
with
1 addition
and
34 deletions
honeypot.routing.yml
+
1
−
1
View file @
3f251975
honeypot__config
:
pattern
:
'
/admin/config/content/honeypot'
defaults
:
_
controller
:
'
honeypot.settings.form:getForm
'
_
form
:
'
\Drupal\honeypot\HoneypotSettingsController
'
requirements
:
_permission
:
'
administer
honeypot'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/Drupal/honeypot/HoneypotBundle.php
deleted
100644 → 0
+
0
−
26
View file @
04d4afff
<?php
/**
* @file
* Contains Drupal\honeypot\HoneypotBundle.
*/
namespace
Drupal\honeypot
;
use
Symfony\Component\DependencyInjection\ContainerBuilder
;
use
Symfony\Component\HttpKernel\Bundle\Bundle
;
/**
* Provides the honeypot dependency injection container.
*/
class
HoneypotBundle
extends
Bundle
{
/**
* Overrides \Symfony\Component\HttpKernel\Bundle\Bundle::build().
*/
public
function
build
(
ContainerBuilder
$container
)
{
// Register the HoneypotSettingsController class with the DIC.
$container
->
register
(
'honeypot.settings.form'
,
'Drupal\honeypot\HoneypotSettingsController'
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/Drupal/honeypot/HoneypotSettingsController.php
+
0
−
7
View file @
3f251975
...
...
@@ -14,13 +14,6 @@ use Drupal\Core\Form\FormInterface;
*/
class
HoneypotSettingsController
implements
FormInterface
{
/**
* Creates a new instance of this form.
*/
public
function
getForm
()
{
return
drupal_get_form
(
$this
);
}
/**
* Get a value from the retrieved form settings 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