Refactor
This commit is contained in:
parent
8d3f6f694e
commit
6466e6a459
3 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||
|
||||
use Drupal\Core\Render\BubbleableMetadata;
|
||||
use Drupal\Core\StringTranslation\TranslatableMarkup;
|
||||
use Drupal\opd_daily_emails\AddRandomCtaToDailyEmail;
|
||||
use Drupal\opd_daily_emails\Action\AddRandomCtaToDailyEmail;
|
||||
use Drupal\opd_daily_emails\DailyEmail;
|
||||
use Drupal\opd_daily_emails\DailyEmailNodeRepository;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
services:
|
||||
Drupal\opd_daily_emails\AddRandomCtaToDailyEmail:
|
||||
Drupal\opd_daily_emails\Action\AddRandomCtaToDailyEmail:
|
||||
autowire: true
|
||||
Drupal\opd_daily_emails\DailyEmailNodeRepository:
|
||||
autowire: true
|
||||
|
|
|
@ -2,11 +2,12 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Drupal\opd_daily_emails;
|
||||
namespace Drupal\opd_daily_emails\Action;
|
||||
|
||||
use Drupal\Core\Entity\EntityTypeManagerInterface;
|
||||
use Drupal\node\NodeInterface;
|
||||
use Drupal\opd_daily_emails\Ctas;
|
||||
use Drupal\opd_daily_emails\DailyEmail;
|
||||
|
||||
readonly final class AddRandomCtaToDailyEmail {
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue