You are here

public function QueueStorageEntity::getType in Open Social 8.9

Same name and namespace in other branches
  1. 8.8 modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getType()
  2. 10.3.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getType()
  3. 10.0.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getType()
  4. 10.1.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getType()
  5. 10.2.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getType()

Returns the queue storage type.

Return value

string The queue storage type name.

Overrides QueueStorageEntityInterface::getType

File

modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php, line 74

Class

QueueStorageEntity
Defines the Queue storage entity entity.

Namespace

Drupal\social_queue_storage\Entity

Code

public function getType() {
  return $this
    ->bundle();
}