Issue #1967144 by tim-e, larowlan: Fix up inherited docs in CustomBlock.php
parent
e65fa4f372
commit
fd7f1183a2
|
@ -118,21 +118,21 @@ class CustomBlock extends EntityNG implements ContentEntityInterface {
|
||||||
protected $theme;
|
protected $theme;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements Drupal\Core\Entity\EntityInterface::id().
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function id() {
|
public function id() {
|
||||||
return $this->id->value;
|
return $this->id->value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements Drupal\Core\Entity\EntityInterface::bundle().
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function bundle() {
|
public function bundle() {
|
||||||
return $this->type->value;
|
return $this->type->value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Overrides \Drupal\Core\Entity\Entity::createDuplicate().
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function createDuplicate() {
|
public function createDuplicate() {
|
||||||
$duplicate = parent::createDuplicate();
|
$duplicate = parent::createDuplicate();
|
||||||
|
@ -142,7 +142,7 @@ class CustomBlock extends EntityNG implements ContentEntityInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Overrides \Drupal\Core\Entity\Entity::getRevisionId().
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getRevisionId() {
|
public function getRevisionId() {
|
||||||
return $this->revision_id->value;
|
return $this->revision_id->value;
|
||||||
|
@ -194,7 +194,7 @@ class CustomBlock extends EntityNG implements ContentEntityInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Overrides \Drupal\Core\Entity\Entity::getRevisionId().
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function uri() {
|
public function uri() {
|
||||||
return array(
|
return array(
|
||||||
|
|
Loading…
Reference in New Issue