replaced deprecated function
This commit is contained in:
		| @ -124,7 +124,7 @@ class OCOrganisationController extends ControllerBase implements ContainerInject | ||||
|           ])); | ||||
|         } | ||||
|         else { | ||||
|           $link = $oc_organisation->link($date); | ||||
|           $link = $oc_organisation->toLink($date)->toString(); | ||||
|         } | ||||
|  | ||||
|         $row = []; | ||||
|  | ||||
| @ -9,6 +9,7 @@ use Drupal\Core\Entity\RevisionableInterface; | ||||
| use Drupal\Core\Entity\EntityChangedTrait; | ||||
| use Drupal\Core\Entity\EntityPublishedTrait; | ||||
| use Drupal\Core\Entity\EntityTypeInterface; | ||||
| use Drupal\Core\Entity\RevisionLogEntityTrait; | ||||
| use Drupal\user\UserInterface; | ||||
|  | ||||
| /** | ||||
| @ -81,6 +82,7 @@ class OCOrganisation extends EditorialContentEntityBase implements OCOrganisatio | ||||
|  | ||||
|   use EntityChangedTrait; | ||||
|   use EntityPublishedTrait; | ||||
|   use RevisionLogEntityTrait; | ||||
|  | ||||
|   /** | ||||
|    * {@inheritdoc} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user