You are here

public function TwitterWidgetInterface::setPublished in Twitter Profile Widget 8

Sets the published status of a Twitter widget.

Parameters

bool $published: TRUE to set this Twitter widget to published, FALSE to set it to unpublished.

Return value

\Drupal\twitter_profile_widget\TwitterWidgetInterface The called Twitter widget entity.

1 method overrides TwitterWidgetInterface::setPublished()
TwitterWidget::setPublished in src/Entity/TwitterWidget.php
Sets the published status of a Twitter widget.

File

src/TwitterWidgetInterface.php, line 74

Class

TwitterWidgetInterface
Provides an interface for defining Twitter widget entities.

Namespace

Drupal\twitter_profile_widget

Code

public function setPublished($published);