Extract helper methods
This commit is contained in:
parent
06c3da1880
commit
a656280e7b
5 changed files with 24 additions and 11 deletions
|
@ -76,7 +76,7 @@ final class PushBlogPostToSocialMedia implements EventSubscriberInterface {
|
|||
],
|
||||
]);
|
||||
|
||||
$entity->set(Post::FIELD_SENT_TO_SOCIAL_MEDIA, TRUE);
|
||||
$entity->markAsSentToSocialMedia();
|
||||
$entity->save();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue