1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- namespace Drupal\dr8_zth\Entity;
- use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
- use Drupal\dr8_zth\BlogTypeInterface;
- class BlogType extends ConfigEntityBundleBase implements BlogTypeInterface {
-
- protected $description;
-
- protected $name;
-
- protected $type;
-
- public function id() {
- return $this->type;
- }
-
- public function getDescription() {
- return $this->description;
- }
-
- public function setDescription($description) {
- $this->description = $description;
- return $this;
- }
- }
|