Commit 70dedbf7 authored by APolitsin's avatar APolitsin
Browse files

rm unuseles

parent 7bafa033
......@@ -25,7 +25,6 @@ class EntityPresave extends ControllerBase {
}
}
if ($type = self::checkNode($entity)) {
$type = $entity->getType();
if (!$entity->title->value) {
$title = "$type - " . format_date(REQUEST_TIME, 'long');
$entity->title->setValue($title);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment