Skip to content

Commit 565731d

Browse files
vegantriathletepaul-m
authored andcommitted
Issue #2898376 by Mile23, vegantriathlete, eojthebrave: clean up use of interfaces and trait
1 parent 8e81405 commit 565731d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

content_entity_example/src/Entity/Contact.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -148,20 +148,6 @@ public static function preCreate(EntityStorageInterface $storage_controller, arr
148148
];
149149
}
150150

151-
/**
152-
* {@inheritdoc}
153-
*/
154-
public function getCreatedTime() {
155-
return $this->get('created')->value;
156-
}
157-
158-
/**
159-
* {@inheritdoc}
160-
*/
161-
public function getChangedTime() {
162-
return $this->get('changed')->value;
163-
}
164-
165151
/**
166152
* {@inheritdoc}
167153
*/

0 commit comments

Comments
 (0)