\yii\helpers\StringHelper::truncateWords($post->title, 6, '...')]); $this->title = $type->plural . ' > ' . $title; $this->params['breadcrumbs'][] = ['label' => Yii::t('post', $type->plural), 'url' => ['index', 'tid' => $type->id]]; $this->params['breadcrumbs'][] = ['label' => $type->singular, 'url' => ['view', 'id' => $post->id]]; $this->params['breadcrumbs'][] = Yii::t('buttons', 'Editing'); ?>