StringHelper::truncateWords($post->translation->title, 6, '...')]); $this->title = $title; $this->params['breadcrumbs'][] = ['label' => Yii::t('blog', 'Posts'), 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => StringHelper::truncateWords($post->translation->title, 4, '...'), 'url' => ['view', 'id' => $post->id]]; $this->params['breadcrumbs'][] = Yii::t('buttons', 'Editing'); ?>