Skip to content
This repository was archived by the owner on May 10, 2022. It is now read-only.

Commit 2467ef1

Browse files
author
Aaron Schreck
authored
Merge pull request #5 from section/development
update Id and label in Section purger annotation
2 parents 4371b45 + b1030dc commit 2467ef1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

config/schema/section_purger.data_types.schema.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
section_purger_header:
22
type: mapping
3-
label: 'HTTP Header'
3+
label: 'Section Header'
44
mapping:
55
field:
66
type: string

src/Entity/SectionPurgerSettings.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
use Drupal\purge\Plugin\Purge\Purger\PurgerSettingsInterface;
77

88
/**
9-
* Defines the HTTP purger settings entity.
9+
* Defines the section purger settings entity.
1010
*
1111
* @ConfigEntityType(
12-
* id = "httppurgersettings",
13-
* label = @Translation("Http purger settings"),
12+
* id = "sectionpurgersettings",
13+
* label = @Translation("Section"),
1414
* config_prefix = "settings",
1515
* static_cache = TRUE,
1616
* entity_keys = {"id" = "id"},

src/Plugin/Purge/Purger/SectionPurger.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
use Drupal\section_purger\Plugin\Purge\Purger\SectionPurgerBase;
88

99
/**
10-
* HTTP Purger.
10+
* Section Purger.
1111
*
1212
* @PurgePurger(
13-
* id = "http",
14-
* label = @Translation("HTTP Purger"),
13+
* id = "Section Purger",
14+
* label = @Translation("Section Purger"),
1515
* configform = "\Drupal\section_purger\Form\SectionPurgerForm",
1616
* cooldown_time = 0.0,
1717
* description = @Translation("Purger that sends invalidation expressions from your Drupal instance to the Section platform."),

0 commit comments

Comments
 (0)