config->COURSE_ADMIN_NOTICE; $method = $notice ? 'createHasNotice' : 'createHasNoNotice'; ?> id), $action['params'] ?? [] ), array_merge($action['attributes'] ?? [], [ 'class' => 'admin-courses-action-button', 'title' => $notice, ]) ) ?>