You are here

public function Host::getSource in http:BL 8

Returns the value for the source field of a host entity.

Return value

string The host source field.

Overrides HostInterface::getSource

File

src/Entity/Host.php, line 115
Contains \Drupal\httpbl\Entity\Host.

Class

Host
Defines the host entity class.

Namespace

Drupal\httpbl\Entity

Code

public function getSource() {
  return $this
    ->get('source')->value;
}