You are here

public function Log::getCategoryId in Commerce Core 8.2

Gets the category ID.

Return value

string The log category ID.

Overrides LogInterface::getCategoryId

1 call to Log::getCategoryId()
Log::getCategory in modules/log/src/Entity/Log.php
Gets the category.

File

modules/log/src/Entity/Log.php, line 63

Class

Log
Defines the log entity class.

Namespace

Drupal\commerce_log\Entity

Code

public function getCategoryId() {
  return $this
    ->get('category_id')->value;
}