|
@@ -16,7 +16,7 @@ use Drupal\file\Entity\File;
|
|
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
|
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
|
use Drupal\Core\Database\Database;
|
|
|
-use Drupal\heartbeat\HeartbeatTypeServices;
|
|
|
+use Drupal\heartbeat\HeartbeatTypeService;
|
|
|
use Drupal\heartbeat\HeartbeatStreamServices;
|
|
|
use Drupal\heartbeat\HeartbeatService;
|
|
|
use Drupal\heartbeat\Plugin\Block\HeartbeatCommentBlock;
|
|
@@ -34,11 +34,11 @@ use Drupal\heartbeat\Plugin\Block\HeartbeatCommentBlock;
|
|
|
class HeartbeatBlock extends BlockBase implements ContainerFactoryPluginInterface {
|
|
|
|
|
|
/**
|
|
|
- * Drupal\heartbeat\HeartbeatTypeServices definition.
|
|
|
+ * Drupal\heartbeat\HeartbeatTypeService definition.
|
|
|
*
|
|
|
- * @var \Drupal\heartbeat\HeartbeatTypeServices
|
|
|
+ * @var \Drupal\heartbeat\HeartbeatTypeService
|
|
|
*/
|
|
|
- protected $heartbeatTypeServices;
|
|
|
+ protected $heartbeatTypeService;
|
|
|
/**
|
|
|
* Drupal\heartbeat\HeartbeatStreamServices definition.
|
|
|
*
|
|
@@ -78,12 +78,12 @@ class HeartbeatBlock extends BlockBase implements ContainerFactoryPluginInterfac
|
|
|
array $configuration,
|
|
|
$plugin_id,
|
|
|
$plugin_definition,
|
|
|
- HeartbeatTypeServices $heartbeat_heartbeattype,
|
|
|
+ HeartbeatTypeService $heartbeat_heartbeattype,
|
|
|
HeartbeatStreamServices $heartbeatstream,
|
|
|
HeartbeatService $heartbeat, EntityTypeManager $entity_type_manager, DateFormatter $date_formatter, FlagService $flag_service, FormBuilder $form_builder, ConfigFactory $configFactory
|
|
|
) {
|
|
|
parent::__construct($configuration, $plugin_id, $plugin_definition);
|
|
|
- $this->heartbeatTypeServices = $heartbeat_heartbeattype;
|
|
|
+ $this->heartbeatTypeService = $heartbeat_heartbeattype;
|
|
|
$this->heartbeatStreamServices = $heartbeatstream;
|
|
|
$this->heartbeatService = $heartbeat;
|
|
|
$this->entityTypeManager = $entity_type_manager;
|