Skip to content

Commit

Permalink
Html title field changes
Browse files Browse the repository at this point in the history
  • Loading branch information
uttkarsh@axelerant.com committed Jul 9, 2019
1 parent 6ea22ad commit 7d2b5c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Series/Base.php
Expand Up @@ -76,10 +76,12 @@ public function __construct(ImmutableConfig $settings, EntityTypeManagerInterfac
* {@inheritdoc}
*/
public function getDefault() : array {
// Get html title field and strip html tags.
$title = strip_tags($this->entity->html_title->value);
return [
[
'attribute' => 'Title',
'value' => $this->entity->label(),
'value' => $title,
],
[
'attribute' => 'Number',
Expand Down

0 comments on commit 7d2b5c9

Please sign in to comment.