You are here

public function EckEntityBundle::getEckEntityTypeMachineName in Entity Construction Kit (ECK) 8

Return value

null|string

1 call to EckEntityBundle::getEckEntityTypeMachineName()
EckEntityBundle::postSave in src/Entity/EckEntityBundle.php
Acts on a saved entity before the insert or update hook is invoked.

File

src/Entity/EckEntityBundle.php, line 158

Class

EckEntityBundle
Defines the ECK entity bundle configuration entity.

Namespace

Drupal\eck\Entity

Code

public function getEckEntityTypeMachineName() {
  return $this
    ->getEntityType()
    ->getBundleOf();
}