You are here

RealisticDummyContentTextProperty.php in Realistic Dummy Content 3.x

File

api/src/includes/RealisticDummyContentTextProperty.php
View source
<?php

namespace Drupal\realistic_dummy_content_api\includes;


/**
 * Represents a text property like a node title or user name.
 */
class RealisticDummyContentTextProperty extends RealisticDummyContentProperty {

  /**
   * {@inheritdoc}
   */
  public function implementValueFromFile($file) : array {
    return $file
      ->Value();
  }

}

Classes

Namesort descending Description
RealisticDummyContentTextProperty Represents a text property like a node title or user name.