Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scheduler
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
scheduler
Commits
0b292a76
Commit
0b292a76
authored
2 years ago
by
Jonathan Smith
Committed by
Jonathan Smith
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3224263
by jonathan1055: Align SchedulerNodeEvents descriptions with media/commerce/taxonomy
parent
4de53234
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Event/SchedulerNodeEvents.php
+19
-21
19 additions, 21 deletions
src/Event/SchedulerNodeEvents.php
with
19 additions
and
21 deletions
src/Event/SchedulerNodeEvents.php
+
19
−
21
View file @
0b292a76
...
...
@@ -9,14 +9,14 @@ namespace Drupal\scheduler\Event;
* See SchedulerMediaEvents for the generic naming convention to follow for any
* new entity plugin implementations.
*/
class
SchedulerNodeEvents
{
final
class
SchedulerNodeEvents
{
/**
* The event triggered after a node is published immediately.
*
* This event allows modules to react after a
node
is published
immediately.
*
The event listener method receives a \Drupal\Core\Entity\EntityInterface
* instance.
* This event allows modules to react after a
n entity
is published
*
immediately when being saved after editing. The event listener method
*
receives a \Drupal\Core\Entity\EntityInterface
instance.
*
* @Event
*
...
...
@@ -27,10 +27,10 @@ class SchedulerNodeEvents {
const
PUBLISH_IMMEDIATELY
=
'scheduler.publish_immediately'
;
/**
* The event triggered after a node is published
via
cron.
* The event triggered after a node is published
by
cron.
*
* This event allows modules to react after a
node
is published
. The event
* listener
method
receives a \Drupal\Core\Entity\EntityInterface instance.
* This event allows modules to react after a
n entity
is published
by Cron.
*
The event
listener receives a \Drupal\Core\Entity\EntityInterface instance.
*
* @Event
*
...
...
@@ -43,9 +43,9 @@ class SchedulerNodeEvents {
/**
* The event triggered before a node is published immediately.
*
* This event allows modules to react before a
node
is published
immediately.
*
The event listener method receives a \Drupal\Core\Entity\EntityInterface
* instance.
* This event allows modules to react before a
n entity
is published
*
immediately when being saved after editing. The event listener method
*
receives a \Drupal\Core\Entity\EntityInterface
instance.
*
* @Event
*
...
...
@@ -56,11 +56,10 @@ class SchedulerNodeEvents {
const
PRE_PUBLISH_IMMEDIATELY
=
'scheduler.pre_publish_immediately'
;
/**
* The event triggered before a node is published
via
cron.
* The event triggered before a node is published
by
cron.
*
* This event allows modules to react before a node is published. The event
* listener method receives a \Drupal\Core\Entity\EntityInterface
* instance.
* This event allows modules to react before an entity is published by Cron.
* The event listener receives a \Drupal\Core\Entity\EntityInterface instance.
*
* @Event
*
...
...
@@ -71,11 +70,10 @@ class SchedulerNodeEvents {
const
PRE_PUBLISH
=
'scheduler.pre_publish'
;
/**
* The event triggered before a node is unpublished
via
cron.
* The event triggered before a node is unpublished
by
cron.
*
* This event allows modules to react before a node is unpublished. The
* event listener method receives a \Drupal\Core\Entity\EntityInterface
* instance.
* This event allows modules to react before an entity is unpublished by Cron.
* The event listener receives a \Drupal\Core\Entity\EntityInterface instance.
*
* @Event
*
...
...
@@ -86,10 +84,10 @@ class SchedulerNodeEvents {
const
PRE_UNPUBLISH
=
'scheduler.pre_unpublish'
;
/**
* The event triggered after a node is unpublished
via
cron.
* The event triggered after a node is unpublished
by
cron.
*
* This event allows modules to react after a
node
is unpublished
. The event
* listener
method
receives a \Drupal\Core\Entity\EntityInterface instance.
* This event allows modules to react after a
n entity
is unpublished
by Cron.
*
The event
listener receives a \Drupal\Core\Entity\EntityInterface instance.
*
* @Event
*
...
...
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